Compare commits
No commits in common. "v963" and "v961" have entirely different histories.
@ -1,18 +0,0 @@
|
|||||||
description "Startup Helper for ez-ipupdate daemon"
|
|
||||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
||||||
version 1.0
|
|
||||||
emits none special
|
|
||||||
|
|
||||||
start on (runlevel [345] and (started adsl))
|
|
||||||
stop on runlevel [0126]
|
|
||||||
|
|
||||||
console none
|
|
||||||
|
|
||||||
script
|
|
||||||
if ls /etc/sysconfig/ez-ipupdate/* >/dev/null 2>&; then
|
|
||||||
for i in /etc/sysconfig/ez-ipupdate/*; do
|
|
||||||
/usr/bin/ez-ipupdate -h `basename $i` \ -c $i
|
|
||||||
initctl ipupdate UPDATEHOST=`basename $i`
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
end script
|
|
@ -1,11 +0,0 @@
|
|||||||
description "Startup ez-ipupdate daemon"
|
|
||||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
||||||
version 1.0
|
|
||||||
emits none special
|
|
||||||
|
|
||||||
start on ipupdate
|
|
||||||
stop on runlevel [0126]
|
|
||||||
|
|
||||||
console none
|
|
||||||
|
|
||||||
exec /usr/bin/ez-ipupdate -f -h $UPDATEHOST -c /etc/sysconfig/ez-ipupdate/$UPDATEHOST
|
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -d /var/install/sysvinit* ]; then
|
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
for i in 2 3 4 5; do
|
for i in 2 3 4 5; do
|
||||||
@ -32,6 +31,5 @@ if [ -d /var/install/sysvinit* ]; then
|
|||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
|
mkdir -p sysconfig/ez-ipupdate
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
fi
|
|
||||||
mkdir -p etc/sysconfig/ez-ipupdate
|
|
||||||
|
Loading…
Reference in New Issue
Block a user