Vorbereitung fuer upstart

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_samba@5547 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-04-20 19:10:51 +00:00
parent d9a020d84f
commit c0b3514081
3 changed files with 41 additions and 17 deletions

11
etc/init/nmbd.conf Normal file
View File

@ -0,0 +1,11 @@
description "Samba Name Deamon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [S016]
console none
exec /opt/samba/sbin/nmbd -F

11
etc/init/smbd.conf Normal file
View File

@ -0,0 +1,11 @@
description "Samba file Deamon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [S016]
console none
exec /opt/samba/sbin/smbd -F

View File

@ -19,6 +19,7 @@
#
#
if [ -d /var/install/sysvinit* ]; then
WDIR=`pwd`
cd etc/init.d
chmod 755 samba
@ -36,3 +37,4 @@ done
cd ../../opt/samba/scripts
chmod 755 *
cd $WDIR
fi