Changeset 810
- Timestamp:
- Dec 27, 2007 11:40:42 AM (5 years ago)
- Location:
- trunk/runit/servicedirs
- Files:
-
- 1 deleted
- 2 edited
-
dhclient/check (deleted)
-
dhclient/run (modified) (1 diff)
-
ntp/run (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/runit/servicedirs/dhclient/run
r808 r810 1 1 #!/bin/sh 2 2 exec 2>&1 3 exec chpst -e env dhclient -d -e $INTERFACES 3 4 # check that the interface is up before running 5 for iface in $(echo env/INTERFACES) ; do 6 ifconfig $iface | grep 'inet addr' > /dev/null || exit 1 7 done 8 9 exec chpst -e ./env dhclient -d -e $INTERFACES -
trunk/runit/servicedirs/ntp/run
r808 r810 1 1 #!/bin/sh 2 exec 2>&1 2 3 . /etc/default/ntp 3 4 exec chpst -u ntp /usr/sbin/ntpd -n "$NTPD_OPTS"
Note: See TracChangeset
for help on using the changeset viewer.

