projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding casper 1.81+debian-4.
[live-boot-grml.git]
/
scripts
/
casper-bottom
/
23networking
diff --git
a/scripts/casper-bottom/23networking
b/scripts/casper-bottom/23networking
index
116b1d6
..
cfc565d
100755
(executable)
--- a/
scripts/casper-bottom/23networking
+++ b/
scripts/casper-bottom/23networking
@@
-21,7
+21,7
@@
esac
log_begin_msg "$DESCRIPTION"
log_begin_msg "$DESCRIPTION"
-if [ "${STATICIP}" =
=
"frommedia" -a -e "$IFFILE" ] ; then
+if [ "${STATICIP}" = "frommedia" -a -e "$IFFILE" ] ; then
# will use existent /etc/network/interfaces
log_end_msg
exit 0
# will use existent /etc/network/interfaces
log_end_msg
exit 0
@@
-33,11
+33,7
@@
iface lo inet loopback
EOF
EOF
-if [ "${BUILD_SYSTEM}" == "Ubuntu" ]; then
- udevtrigger -Bpci -Iclass="0x02*"
-else
- udevtrigger
-fi
+udevtrigger
udevsettle
if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]; then
udevsettle
if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]; then
@@
-71,8
+67,8
@@
else
[ -e $interface ] || continue
i="$(basename $interface)"
cat >> "$IFFILE" <<EOF
[ -e $interface ] || continue
i="$(basename $interface)"
cat >> "$IFFILE" <<EOF
-auto $
{i}
-iface $
{i}
inet ${method}
+auto $
i
+iface $
i
inet ${method}
EOF
done
EOF
done