mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-11 20:04:03 +02:00
19 lines
227 B
Plaintext
19 lines
227 B
Plaintext
|
#!/bin/sh
|
||
|
NAME=fakeidentd
|
||
|
case "$1" in
|
||
|
start)
|
||
|
[ -e $DEFAULT ] && $NAME $DEFAULT
|
||
|
;;
|
||
|
stop)
|
||
|
killall $NAME
|
||
|
;;
|
||
|
restart)
|
||
|
killall $NAME
|
||
|
$NAME
|
||
|
;;
|
||
|
*)
|
||
|
echo "Usage: $NAME (start|stop|restart)" > 2&
|
||
|
exit 1
|
||
|
;;
|
||
|
esac
|