Changeset 815
- Timestamp:
- Dec 27, 2007 5:41:32 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/runit/servicedirs/dhclient/run (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/runit/servicedirs/dhclient/run
r814 r815 2 2 exec 2>&1 3 3 4 # check that the interface is up before running 4 run_dhclient() { 5 exec dhclient -d $INTERFACES 6 } 7 export -f run_dhclient 8 9 # check that the interface exists before running 5 10 for iface in $(cat env/INTERFACES) ; do 6 11 ip addr show $iface > /dev/null || exit 1 7 12 done 8 13 9 exec chpst -e ./env dhclient -d -e $INTERFACES14 exec chpst -e ./env sh -c run_dhclient
Note: See TracChangeset
for help on using the changeset viewer.

