You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
263 B
20 lines
263 B
#!/bin/sh
|
|
|
|
case $1 in
|
|
start)
|
|
if [ -e /var/etc/.stbup ]; then
|
|
( /bin/stbup 2>&1>/dev/console ) &
|
|
fi
|
|
;;
|
|
stop)
|
|
if [ -e /var/etc/.stbup ]; then
|
|
killall stbup
|
|
fi
|
|
;;
|
|
restart)
|
|
if [ -e /var/etc/.stbup ]; then
|
|
$0 stop
|
|
$0 start
|
|
fi
|
|
;;
|
|
esac
|
|
|