What about replacing bunch of `rc-update add $service offline` with simple `for`? Patch will follow...
Created attachment 59322 [details, diff] doc/en/hb-working-rcscripts.xml.patch
Also s/Voila/Voil
Also s/Voila/Voilà/ , s/SOFTLEVEL/softlevel/ & BOOTLEVEL as well
Thanks for the suggestion.
the for statement is not correct. it will issue (in one of the loops): rc-update add /etc/runlevels/default/foo offline which will lead to an error: * /sbin/rc-update: /etc/init.d//etc/runlevels/default/foo not found; aborting. as you can see, rc-update appends the '/etc/init.d/' path to the third parameter. the correct statement would be: 1) cd /etc/runlevels/default for service in *; do rc-update add $service offline; done 2) for service in *; do rc-update add `basename $service` offline; done of course, there are other solutions, too, but i have only pointed out 2 easy ones.
Really should not do those in the middle of the night. Sorry.
Err, sorry for bogous patch :-(. It was tested only with "... do echo rc-updatte $service ...".