ac@wrt wrote:logger command inside the script is executing ...example,
...
But echo messages are not printing also script commands also not executing on bootup time...
There is no console when that is run at boot. So where would "echo" print its message????
If you want output at boot, you need to use logging facility, meaning "logger" and read the system log via "logread".
Which script commands do not execute there properly? I guess there might be similar reasons (the absence of a console).
You might also trying to issue your script commands in a detached way with "&" at the end.
E.g. "command parameters &"
ps. If you want better answers, please show the exact script commands that fail for you. Maybe then somebody can figure out why just those commands fail.
(Last edited by hnyman on 28 Nov 2016, 10:20)