1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/sbin/runscript depend() { need logger iprinit } start() { ebegin "Starting the ipr dump daemon" start-stop-daemon --start --quiet --exec /usr/sbin/iprdump -- --daemon } stop() { ebegin "Stopping the ipr dump daemon" start-stop-daemon --stop --name iprdump }