summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/23networking
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/casper-bottom/23networking')
-rwxr-xr-xscripts/casper-bottom/23networking6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/casper-bottom/23networking b/scripts/casper-bottom/23networking
index 021aca9..7238773 100755
--- a/scripts/casper-bottom/23networking
+++ b/scripts/casper-bottom/23networking
@@ -27,7 +27,11 @@ iface lo inet loopback
EOF
-udevplug -Bpci -Iclass="0x02*"
+if [ -x /sbin/udevplug ]; then
+ udevplug -Bpci -Iclass="0x02*"
+else
+ udevtrigger
+fi
for interface in /sys/class/net/eth* /sys/class/net/ath* /sys/class/net/wlan*; do
[ -e $interface ] || continue