X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=admin%2Ficmpdnd-gentoo;fp=admin%2Ficmpdnd-gentoo;h=26210f062f14fe0803ca194bbdf9c5dfff2b57e7;hb=325335498a1b5afa48487e62274a252c7a7f9710;hp=0000000000000000000000000000000000000000;hpb=738f3f12e5a2ebc6d9d629b3038dd6b967dbd989;p=icmp-dn.git diff --git a/admin/icmpdnd-gentoo b/admin/icmpdnd-gentoo new file mode 100755 index 0000000..26210f0 --- /dev/null +++ b/admin/icmpdnd-gentoo @@ -0,0 +1,19 @@ +#!/sbin/runscript + +opts="start stop restart" + +depend() { + need net +} + +start() { + ebegin "Starting icmpdnd" + start-stop-daemon --start --quiet --exec /usr/sbin/icmpdnd + eend $? +} + +stop() { + ebegin "Stopping icmpdnd" + start-stop-daemon --stop --quiet --exec /usr/sbin/icmpdnd + eend $? +}