search for: do_initscripts

Displaying 1 result from an estimated 1 matches for "do_initscripts".

2010 Apr 28
1
[PATCH] RFC: Running initscripts from kinit
For our platforms, we'd like to embed several different userland scripts / programs that are executed before we have mounted the root filesystem as part of the initramfs payload. Specifically, I'd like to have multiple scripts executed before do_mounts(), so I coded up this simple do_initscripts function that executes all executables found in /etc/init.d in alphabetically sorted order. I realize now that this could be all simplified to blindly calling: system("/etc/rc.sysinit"); or similar though and leaving the drop directory handling to it (which is easier done in shell anyw...