23 lines
334 B
Plaintext
23 lines
334 B
Plaintext
![]() |
#!/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
|