Even though I seem to be able to do the following in rc.local:
when I tried to put other commands like:
I got the following error:
Well, after some Goggling it appears that modifying rc.local is NOT the current procedure.
In fact looking at the one executable statement, originally in this file:
and then looking at that file one sees that it does nothing!
In the previous distribution I was using (Pengutronix mini2440 BSP) I used a link in /etc/rc.d to a file in /etc/init.d called "startup".
Doing the command runlevel I get N 5. So, in rc5.d I tried putting a link called S99startup pointing to /etc/init.d/startup, but it doesn't execute.
So, my question is what is the acceptable procedure for starting up user scripts in Debian Jessie?
Code: Select all
rfkill block bluetooth
when I tried to put other commands like:
Code: Select all
mount -t vfat /dev/sda1 /mnt/USB_FLASHDRIVE
I got the following error:
Code: Select all
[FAILED] Failed to start /etc/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
Well, after some Goggling it appears that modifying rc.local is NOT the current procedure.
In fact looking at the one executable statement, originally in this file:
Code: Select all
/usr/bin/init-wifi
and then looking at that file one sees that it does nothing!
In the previous distribution I was using (Pengutronix mini2440 BSP) I used a link in /etc/rc.d to a file in /etc/init.d called "startup".
Doing the command runlevel I get N 5. So, in rc5.d I tried putting a link called S99startup pointing to /etc/init.d/startup, but it doesn't execute.
So, my question is what is the acceptable procedure for starting up user scripts in Debian Jessie?