Vorberitung für upstart
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_midentd@5537 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
27a573d9fc
commit
a3c681ceeb
11
etc/init/midentd.conf
Normal file
11
etc/init/midentd.conf
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
description "midentd startup"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started dbus))
|
||||||
|
stop on runlevel [S016]
|
||||||
|
|
||||||
|
console output
|
||||||
|
|
||||||
|
exec /usr/sbin/midentd -u nobody
|
|
@ -29,8 +29,7 @@ plate,v $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -f /var/install/sysvinit* ]; then
|
||||||
|
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 midentd
|
chmod 755 midentd
|
||||||
|
@ -46,4 +45,4 @@ for i in 2 3 4 5; do
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
~
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user