Viitor_ez-ipupdate/etc/init/ez-ipupdate-cfg.conf

19 lines
452 B
Plaintext
Raw Normal View History

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