30 lines
390 B
Plaintext
30 lines
390 B
Plaintext
![]() |
#!/bin/bash
|
|||
|
#genpkg script f<>r ucd-snmpd
|
|||
|
#(c) Rainmaker MultiMedia OHG
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.1 2002/01/11 19:58:10 kueller
|
|||
|
#Initial revision
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
WDIR=`pwd`
|
|||
|
cd etc/init.d
|
|||
|
chmod 755 cups
|
|||
|
mkdir rc{0,1,2,3,4,5,6}.d
|
|||
|
for i in 0 1 2 6; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../snmpd K05snmpd
|
|||
|
cd ..
|
|||
|
done
|
|||
|
for i in 3 4 5; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../snmpd S60snmpd
|
|||
|
cd ..
|
|||
|
done
|
|||
|
cd $WDIR
|