Commit | Line | Data |
---|---|---|
1 | #!/sbin/runscript | |
2 | ||
3 | opts="start stop restart" | |
4 | ||
5 | depend() { | |
6 | need net | |
7 | } | |
8 | ||
9 | start() { | |
10 | ebegin "Starting icmpdnd" | |
11 | start-stop-daemon --start --quiet --exec /usr/sbin/icmpdnd | |
12 | eend $? | |
13 | } | |
14 | ||
15 | stop() { | |
16 | ebegin "Stopping icmpdnd" | |
17 | start-stop-daemon --stop --quiet --exec /usr/sbin/icmpdnd | |
18 | eend $? | |
19 | } |