You are not logged in.
Hi, I'm trying to create an Arch based live environment with Archiso. To customize some aspects of it as well as to add users to the system I'm using the rc.local script, which I thought it's called after loading the daemons in rc.multi; thing is, it's not being called at all even though init level 3 is specified in inittab.
When is rc.multi or rc.local called? The daemons are loading as specified in rc.conf but rc.local is never called.
Last edited by MickST (2011-01-26 21:03:07)
Offline
Really depends on what you have in rc.local
Mr Green
Offline
rc.local is indeed called by rc.multi, which is run by init, as set in inittab.
Perhaps your rc.local isn't executable?
Offline
Hi, I'm trying to create an Arch based live environment with Archiso. To customize some aspects of it as well as to add users to the system I'm using the rc.local script, which I thought it's called after loading the daemons in rc.multi; thing is, it's not being called at all even though init level 3 is specified in inittab.
When is rc.multi or rc.local called? The daemons are loading as specified in rc.conf but rc.local is never called.
~> grep rc.sysinit /etc/inittab
rc::sysinit:/etc/rc.sysinit
~> grep rc.multi /etc/inittab
rm:2345:wait:/etc/rc.multi
~> grep rc.local /etc/rc.multi
if [ -x /etc/rc.local ]; then
/etc/rc.localEDIT: Oops, too much coffee... sorry ![]()
Last edited by Leonid.I (2011-01-26 19:48:28)
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Thank you all for your answers!
locke was right, I created the rc.local file from scratch and it didn't have the executable bit set; everything is working as expected now.
Offline