Hi there

What does busybox halt?

I have my own C code which opens a device node and writes into a register 
using ioctl. This performs switching the power supply off. 

I have copied it as /sbin/shutdown.

But busybox init does not run it after halt command in shell.
If i write ::shutdown:/sbin/shutdown into inittab, it makes the power off 
before unmountig disks and before terminating applications.

If i write ::shutdown:/sbin/shutdown& and append delay into C code, SIGTERM or 
SIGKILL ends my program and power off never comes.

Can you help me?

Jakub Ladman


-- 
[email protected] mailing list

Reply via email to