4 # delete init files created from template
5 pushd /etc/init.d >/dev/null
8 if grep "# sysd2sysv-template #" $file >/dev/null
10 echo "renew $file from template"
11 sed "s/%PROG%/$file/" /var/sysd2sysv/sysd2sysv.tpl > $file
15 # for downward compatibility
18 sed "s/%PROG%/mlistd/" /var/sysd2sysv/sysd2sysv.tpl > mlistd