Hi
this is the init script I am using.
Save to /etc/init.d/fwbuilder
Install using "insserv fwbuilder"
Save your fwbuilder output file to /etc/[hostname].fw
It doesn't actually need fwbuilder to be installed, maybe you run
fwbuilder on machineA and save the output as machineB.fw and then
install the file to /etc/machineB.fw on machineB. Provided that
machineB has this init script installed it will work.
root@debdesk:/etc/init.d# cat fwbuilder
#!/bin/sh
# Written by Philip Christian
#
### BEGIN INIT INFO
# Provides: fwbuilder
# Required-Start: mountkernfs $local_fs networking hostname
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop:
# Short-Description: Set up fwbuilder
### END INIT INFO
case "$1" in
start)
if [ -x /etc/"$(hostname)".fw ]; then /etc/"$(hostname)".fw
else echo /etc/"$(hostname)".fw not found
fi
;;
stop|force-stop|restart|force-reload|status)
;;
*)
echo "Usage: $0 {start|stop|force-stop|restart|force-reload|status}" >&2
exit 1
;;
esac
exit 0
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]