Compare commits

...

No commits in common. "v963" and "v961" have entirely different histories.
v963 ... v961

2 changed files with 15 additions and 32 deletions

View File

@ -1,15 +0,0 @@
description "Simple net managemant Protokoll Deamon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [016]
console none
script
if [ -f /etc/snmpd/snmpd.conf ]; then
/usr/sbin/snmpd -c /etc/snmpd/snmpd.conf -f
fi
end script

View File

@ -12,20 +12,18 @@
# #
# #
if [ -d /var/install/sysvinit ]; then WDIR=`pwd`
WDIR=`pwd` cd etc/init.d
cd etc/init.d chmod 755 cups
chmod 755 cups mkdir rc{0,1,2,3,4,5,6}.d
mkdir rc{0,1,2,3,4,5,6}.d for i in 0 1 2 6; do
for i in 0 1 2 6; do cd rc$i.d
cd rc$i.d ln -s ../snmpd K05snmpd
ln -s ../snmpd K05snmpd cd ..
cd .. done
done for i in 3 4 5; do
for i in 3 4 5; do cd rc$i.d
cd rc$i.d ln -s ../snmpd S60snmpd
ln -s ../snmpd S60snmpd cd ..
cd .. done
done cd $WDIR
cd $WDIR
fi