Home > OS >  Linux/etc/rc. Local can't execute the script
Linux/etc/rc. Local can't execute the script

Time:10-04

Recently found no problem has been run/etc/rc. The script in the local, not automatically after one boot,
Such as I/etc/rc.
is the content of the local/root/FRP/FRPC - c/root/FRP/FRPC ini & gt;>/root/FRP. The log 2 & gt; & 1 & amp;
For the/etc/rc. Local has chmod + x/etc/rc. Local
One boot after I found my FRP script is not running
No problem but performed manually FRP script after
Doubt/etc/rc. The local didn't perform to my FRP script
So a debugging scripts, this
/root/FRP/FRPC - c/root/FRP/FRPC ini & gt;>/root/FRP. The log 2 & gt; & 1 & amp;
Touch/root/test
The results to restart and found two scripts are run automatically,,,
So what

CodePudding user response:

Check the/etc/rc. Local is link to the/etc/rc. D/rc. Local, then the/etc/rc. D/rc. If local executable

CodePudding user response:

The/etc/rc. D/rc. Local executable

CodePudding user response:

After one boot did not automatically perform
At that time, you should go to check the system log, start to might be something wrong, not run to your script

CodePudding user response:

Any environment variables to load?
  • Related