Folks,
After some effort I have been able to add the Hylafax configuration to the e-smith template system so that hylafax starts at boot time. Here is how I did it. I would welcome scrutiny and comments.
Start faxgetty at boot time.
Add line to /etc/inittab:
mo:23457:respawn:/usr/sbin/faxgetty ttyS0
Copy the inittab template for modification
cp -R /etc/e-smith/templates/etc/inittab /etc/e-smith/templates-custom/etc
Delete all files copied to the new directory
rm *
Create the template fragment
touch faxgetty
Add to faxgetty
pico faxgetty
#-------------------------------------------------
# start faxgetty on ttyS0 (comm 1)
#-------------------------------------------------
mo:23457:respawn:/usr/sbin/faxgetty ttyS0
#-------------------------------------------------
# end faxgetty ammendment
#-------------------------------------------------
expand the template
/sbin/e-smith/expand-template /etc/inittab
Start the Hylafax services at boot time
Add the following lines to /etc/services:
hylafax 4559/tcp
snpp 444/tcp
Copy the inittab template for modification
cp -R /etc/e-smith/templates/etc/services /etc/e-smith/templates-custom/etc
Delete all files copied to the new directory
rm *
Create the template fragment
touch hylafax
Add to hylafax
pico hylafax
#-------------------------------------------------
# configure hylafax services
#-------------------------------------------------
hylafax 4559/tcp
snpp 444/tcp
#-------------------------------------------------
# end hylafax ammendment
#-------------------------------------------------
expand the template
/sbin/e-smith/expand-template /etc/services
start hylafax on startup
copy the start link to rc.7 directory
cp /etc/rc.d/rc3.d/S95hylafax /etc/rc.d/rc7.d