Neue Version V963

git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_netkit-bootparamd@5933 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-01-03 10:48:06 +00:00
commit 163493d81d
2 changed files with 77 additions and 0 deletions

48
etc/init.d/bootparamd Normal file
View File

@ -0,0 +1,48 @@
#!/bin/sh
#bootparamd des systemvinit prozesses
#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution
#(c) Rainmaker MultiMedia OHG
#
#$Author$
#$Date$
#$Revision$
#
#$Log$
#Revision 1.1 2001/11/17 18:29:26 kueller
#Initial revision
#
#Revision 1.1.1.1 2001/09/23 00:02:08 kueller
#Neustart wg. Datenverlust
#
#Revision 1.1.1.1 2001/08/08 10:02:32 kueller
#sysvinit addons
#
#
source /etc/init.d/functions
case "$1" in
start)
if [ -f /etc/bootparams ]; then
echo -n "Starting rpc.bootparamd"
loadproc /usr/sbin/rpc.bootparamd
fi
;;
stop)
if [ -f /etc/bootparams ]; then
echo -n "Stopping rpc.bootparamd"
killproc rpc.bootparamd
fi
;;
restart)
$0 stop
/usr/bin/sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac

29
init/genpkg Normal file
View File

@ -0,0 +1,29 @@
#!/bin/bash
#Init Links für bootparam
#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution
#(c) Rainmaker MultiMedia OHG
#
#$Author$
#$Date$
#$Revision$
#
#$Log$
#Revision 1.1 2001/11/17 18:29:26 kueller
#Initial revision
#
#
WDIR=`pwd`
mkdir etc/init.d/rc{0,1,2,3,4,5,6}.d
cd etc/init.d
for i in 0 1 2 6; do
cd rc$i.d
ln -s ../bootparamd K75bootparamd
cd ..
done
for i in 3 4 5; do
cd rc$i.d
ln -s ../bootparamd S12bootparamd
cd ..
done
cd $WDIR