this is the script that i use to install preinit.


quote site rw
cd /
quote mkd programs0
quote mkd programs1
cd /bin
bin
put empeg-preinit hijack
quote site chmod 755 hijack
quote site ro
quote site reboot
quit


in programs0, i have the rest of the installation script in the preinit.d, which won't run if it sees a certain file that gets installed.

turned out to be a good method for quick and easy software changes.