Compare commits

..

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

3 changed files with 37 additions and 15 deletions

16
etc/init/rpc.conf Normal file
View File

@ -0,0 +1,16 @@
description "Startup rpc daemon after network setup is ready"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on ( runlevel [2345] and (stopped ifup))
stop on (runlevel [016] and (starting ifdown))
console none
exec /usr/sbin/portmap -f
respawn
post-start script
mount -a
end script

View File

@ -12,6 +12,7 @@
# #
# #
if [ -d /var/install/sysvinit* ]; then
WDIR=`pwd` WDIR=`pwd`
cd etc/init.d cd etc/init.d
mkdir rc{0,1,2,3,4,5,6}.d mkdir rc{0,1,2,3,4,5,6}.d
@ -26,3 +27,4 @@ for i in 2 3 4 5; do
cd .. cd ..
done done
cd $WDIR cd $WDIR
fi

View File

@ -42,4 +42,8 @@
# #
# #
if [ -d /var/install/sysvinit* ]; then
/etc/init.d/rpc start /etc/init.d/rpc start
else
start rpc
fi