Comment 12 for bug 85014

Revision history for this message
randominternet (tom-randominter) wrote : Re: Fail to enter rc1.d by putting 1 in bootparam in edgy

ask yourself if you really need runlevels? (upstart admins dont' seem to think so, they say on there site they are there for back compat only)

for my problem (running different non interactive partition to partition dd scripts from grub option instead of normal bash prompt) I found I could achieve the same effect i had in the past with runlevels by putting one script in runlevel 2 that simply looks at /proc/cmdline for triggers i send from grub and takes the appropriate action, I also set it to enable/disable rmnologin with a token to complete the effect)

you can easily add a "grep /proc/cmdline trigger" into an if statement to control any rc script