From b1e90bfa4b9a8d6be514171072ba41d005e0028e Mon Sep 17 00:00:00 2001 From: kueller Date: Tue, 20 Apr 2010 13:17:36 +0000 Subject: [PATCH] Neues Startup Script mit anpassungen an neueste upstart version git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_rpc@5510 504e572c-2e33-0410-9681-be2bf7408885 --- etc/init/rpc.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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