projects
/
fai-configs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b809d1d
)
set 30-interface for dirinstall
author
Ruben Rodriguez
<ruben@gnu.org>
Fri, 4 Sep 2015 14:44:10 +0000
(09:44 -0500)
committer
Ruben Rodriguez
<ruben@gnu.org>
Fri, 4 Sep 2015 14:44:10 +0000
(09:44 -0500)
scripts/FAIBASE/30-interface
patch
|
blob
|
blame
|
history
diff --git
a/scripts/FAIBASE/30-interface
b/scripts/FAIBASE/30-interface
index b4da4d938c632c3e37e63cefc28920738e7c8bb3..6f6eeafa936a9716f2d9ae3266db64db19b6c628 100755
(executable)
--- a/
scripts/FAIBASE/30-interface
+++ b/
scripts/FAIBASE/30-interface
@@
-2,7
+2,7
@@
error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
-if ifclass DHCPC && [ $FAI_ACTION = "install" ]
+if ifclass DHCPC && [ $FAI_ACTION = "
dir
install" ]
then
cat > $target/etc/network/interfaces <<-EOF
# generated by FAI
@@
-10,7
+10,7
@@
then
iface lo inet loopback
iface $NIC1 inet dhcp
EOF
-elif [ $FAI_ACTION = "install" ]
+elif [ $FAI_ACTION = "
dir
install" ]
then
[ -n "$IPADDR" ] && cat > $target/etc/network/interfaces <<-EOF
# generated by FAI