projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f4223c0
)
Allowing to assign no gateway in networking bottom script.
author
Steven Shiau
<steven@nchc.org.tw>
Sat, 4 Sep 2010 06:19:35 +0000
(08:19 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Sat, 4 Sep 2010 06:19:35 +0000
(08:19 +0200)
scripts/live-bottom/23networking
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/23networking
b/scripts/live-bottom/23networking
index
8c856c6
..
9554b77
100755
(executable)
--- a/
scripts/live-bottom/23networking
+++ b/
scripts/live-bottom/23networking
@@
-65,10
+65,18
@@
allow-hotplug ${ifname}
iface ${ifname} inet static
address ${ifaddress}
netmask ${ifnetmask}
+EOF
+
+if [ -n "${ifgateway}" ]
+then
+
+cat >> "${IFFILE}" << EOF
gateway ${ifgateway}
EOF
+fi
+
done
else
if [ -z "${NETBOOT}" ] || [ -n "${DHCP}" ]