This is part of the /bin/fog script.
Within the init.gz
On your FOG Server as root extract and mount the init file:
[code]cd /tftpboot/fog/images
mkdir tmp
gunzip init.gz
mount -o loop init tmp
vi tmp/bin/fog
[/code]
Make the changes needed then save and close then run the following commands:
[code]cd /tftpboot/fog/images
umount tmp
gzip -9 init
rm -rf tmp
[/code]
That’s it.