Hi Sam ! >What if I have a program called: H ? >Then I could not run it.
H is not the name of a program. It is just the information passed to to indicate "halt". >So I was suggesting a cleaner way which is that programs should >being with / and therefore be full path, otherwise it is an >internal keyword. The way it is defined is the cleanest way I know. If you want to pass the name for a program (e.g. for kexec) you add another keyword or letter (e.g. "X yourprogram" NL). This way there is no conflict and you can pass whatever info you like. All this is not defined inside Busybox binary. The script determines how the information is used. That is you may define it as you like. Only three values need to be predefined for the current three boot options so the commands "halt", "reboot" and "poweroff" can trigger the required function. -- Harald _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
