Vorbereitung für upstart als default init

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_fam@5532 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-04-20 15:27:24 +00:00
parent fca36c74f4
commit fc43837e03
2 changed files with 30 additions and 15 deletions

13
etc/init/fam.conf Normal file
View File

@ -0,0 +1,13 @@
description "File Monitor Daemon startup"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started mountfs))
stop on runlevel [S016]
console none
respawn
exec /usr/sbin/famd -f

View File

@ -19,6 +19,7 @@
#
#
if [ -d /var/install/sysvinit* ]; then
WDIR=`pwd`
cd etc/init.d
chmod 755 fam
@ -34,3 +35,4 @@ for i in 2 3 4 5; do
cd ..
done
cd $WDIR
fi