[BusyBox] inittab - run stuff before sending SIGTERM.
Alejandro Mery Pellegrini
amery at ing.puc.cl
Fri Jul 26 20:55:03 UTC 2002
Hi :), my english is shameful but i'll try to explain myself.
how could i configure inittab, or whatever is needed to run the script that
stops thing in rc.d before sending SIGTERM?
-- /etc/inittab --
::sysinit:/etc/rc.d/rc.sysinit
::wait:/etc/rc.d/rcS start <--- a simple for in /etc/rc.d/rcS/S*
vc/i::respawn:/sbin/getty 38400 vc/i vt100
::restart:/sbin/restart
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc.d/rcS stop <---- .../K*
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
--
any idea?
Best regards,
Alejandro Mery
More information about the busybox
mailing list