ive just been experimenting with trying to understand how init scripts
work. .. so i wrote some from scratch.
Now i thought that the scripts would have to work out what the previous
runlevel was (using an exported shell variable) and stop the previous
runlevel, but this doesnt seem to be working. It struck me that the
shell the init script runs in when entering a runlevel wont be the same
shell the init script for the other runlevel runs in so exported
variable wont work, make sense ?
Could someone clarify how the current lfs init scripts detect the
previous runlevel.
cheers
Dave
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page