V962 Branch
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_netkit-bootparamd@4400 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
commit
1f292f9450
48
etc/init.d/bootparamd
Normal file
48
etc/init.d/bootparamd
Normal 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
29
init/genpkg
Normal 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
|
Loading…
Reference in New Issue
Block a user