blob: 312501f8bb48794d2688279ccba560084724f399 [file] [log] [blame]
#!/bin/sh
start()
{
babysit 60 setuid nobody minissdpd -i br0 -6 -d 2>&1 | logos ssdpd &
}
stop()
{
pkillwait minissdpd
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0