source:
freewrt/package/fakeidentd/files/fakeidentd.init@
475ad56
| Last change on this file since 475ad56 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 227 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | NAME=fakeidentd |
| 3 | case "$1" in |
| 4 | start) |
| 5 | [ -e $DEFAULT ] && $NAME $DEFAULT |
| 6 | ;; |
| 7 | stop) |
| 8 | killall $NAME |
| 9 | ;; |
| 10 | restart) |
| 11 | killall $NAME |
| 12 | $NAME |
| 13 | ;; |
| 14 | *) |
| 15 | echo "Usage: $NAME (start|stop|restart)" > 2& |
| 16 | exit 1 |
| 17 | ;; |
| 18 | esac |
Note:
See TracBrowser
for help on using the repository browser.
