Make the modification you want and save it on a file, for example in
Then add a preboot script to erase the old file
and copy the modified file to its place
cp /Database/patch /root/kerbynet.cgi/fileneme
If you want to copy modied files use preboot. If you want to start services or run scripts use postboot.