#! /bin/sh echo "Run commands DHCPD starting" %config dhcpd_enable="yes" hacking="ofcourse" %start -p 200 -u root opServiceEnabled dhcpd || exit 0 /sw/sbin/dhcpd %gotest ping -a -c 4 dt1.dev.de.cw.net curl -s ftp://ftp.openpkg.org/current/SRC/ | grep openssl date echo $0 if [ $hacking = ofcourse ]; then echo "Yes, of course" else echo "There is no hacking" fi # cat $0 %stop -p 200 -u root opServiceEnabled dhcpd || exit 0 kill -TERM `cat /sw/var/dhcpd/dhcpd.pid` echo "Run commands DHCPD finishing" echo