diff --git a/etc/init/rpc.conf b/etc/init/rpc.conf index 46b7799..2e3c445 100644 --- a/etc/init/rpc.conf +++ b/etc/init/rpc.conf @@ -1,12 +1,12 @@ -# rc - runlevel compatibility -# -# This task guesses what the "default runlevel" should be and starts the -# appropriate script. +description "Startup rpc daemon after network setup is ready" +author "Harald Kueller " +version 1.0 +emits none special -start on started ifup -stop on stopping ifup +start on ( runlevel [2345] and (stopped ifup)) +stop on (runlevel [S016] and (starting ifdown)) -console logged +console none exec /usr/sbin/portmap -f respawn