![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_openldap@4410 504e572c-2e33-0410-9681-be2bf7408885
23 lines
334 B
Bash
23 lines
334 B
Bash
#!/bin/bash
|
|
#
|
|
#$Author$
|
|
#$Date$
|
|
#$Revision$
|
|
#
|
|
|
|
WDIR=`pwd`
|
|
cd etc/init.d
|
|
chmod 755 openldap
|
|
mkdir rc{0,1,2,3,4,5,6}.d
|
|
for i in 0 1 2 6; do
|
|
cd rc$i.d
|
|
ln -s /etc/init.d/openldap K35openldap
|
|
cd ..
|
|
done
|
|
for i in 3 4 5; do
|
|
cd rc$i.d
|
|
ln -s /etc/init.d/openldap S15openldap
|
|
cd ..
|
|
done
|
|
cd $WDIR
|