Lines 1-6
Link Here
|
1 |
#!/sbin/runscript |
1 |
#!/sbin/runscript |
2 |
|
2 |
|
3 |
opts="depend start stop restart status debug" |
3 |
opts="depend start stop debug" |
4 |
|
4 |
|
5 |
depend() { |
5 |
depend() { |
6 |
need clock hostname logger |
6 |
need clock hostname logger |
Lines 18-33
Link Here
|
18 |
eend $? |
18 |
eend $? |
19 |
} |
19 |
} |
20 |
|
20 |
|
21 |
restart() { |
|
|
22 |
ebegin "Restarting DenyHosts daemon" |
23 |
/usr/sbin/denyhosts-daemon-control restart >/dev/null |
24 |
eend $? |
25 |
} |
26 |
|
27 |
status() { |
28 |
/usr/sbin/denyhosts-daemon-control status |
29 |
} |
30 |
|
31 |
debug() { |
21 |
debug() { |
32 |
/usr/sbin/denyhosts-daemon-control debug |
22 |
/usr/sbin/denyhosts-daemon-control debug |
33 |
} |
23 |
} |