From: fredrik@DOLDA2000.COM Date: Mon, 23 May 2005 21:28:14 +0000 (+0000) Subject: Initial import. X-Git-Url: http://dolda2000.com/gitweb/?p=icmp-dn.git;a=commitdiff_plain;h=325335498a1b5afa48487e62274a252c7a7f9710;hp=738f3f12e5a2ebc6d9d629b3038dd6b967dbd989 Initial import. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@251 959494ce-11ee-0310-bf91-de5d638817bd --- 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 $? +}