# very simple dhclient-script. All it cares about is bringing the interface
# up, and it does not even try to do anything else.
+PATH="/sbin:$PATH"
+
case $reason in
PREINIT) ip link set "$interface" up ;;
BOUND) ipopts="$new_ip_address"
#!/bin/sh
+PATH="/sbin:$PATH"
+
+
# loopback is always handled the same way
[ "$1" = "lo" ] && {
ip link set lo up
) ;;
*) continue;;
esac
-done
\ No newline at end of file
+done
#!/bin/sh
+PATH="/sbin:$PATH"
+
+
for i in /net.*.dhcp; do
dev=${i#net.}; dev=${i%.dhcp}
[ -f "/net.$dev.up" ] && continue
dhclient -1 -q $dev &
done
wait
-
\ No newline at end of file
+