projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow selecting boot eth dev by MAC address
[live-boot-grml.git]
/
components
/
9990-grml-networking.sh
diff --git
a/components/9990-grml-networking.sh
b/components/9990-grml-networking.sh
index
0d73e52
..
49ceb81
100644
(file)
--- a/
components/9990-grml-networking.sh
+++ b/
components/9990-grml-networking.sh
@@
-133,14
+133,14
@@
EOF
done
# dns bootoption
done
# dns bootoption
-if [ -n "$DNSSERVER
1
" ]
+if [ -n "$DNSSERVER
S
" ]
then
# disable any existing entries
if [ -r $RESOLVCONF ]
then
sed -i 's/nameserver/# nameserver/' $RESOLVCONF
fi
then
# disable any existing entries
if [ -r $RESOLVCONF ]
then
sed -i 's/nameserver/# nameserver/' $RESOLVCONF
fi
- for i in $DNSSERVER
1 $DNSSERVER2
+ for i in $DNSSERVER
S
do
echo "nameserver $i" >> $RESOLVCONF
done
do
echo "nameserver $i" >> $RESOLVCONF
done