Hello.
I had the same problem: I had written a script e.g. mystartupscript and then I have done the following:
Then after some time I modified my script and thought to have to do this again. So I again wrote ...
... and so I got the mysterious failure:
I have solved the problem as follows:
And don't forget to make the script executable:
I hope it can help you.
I had the same problem: I had written a script e.g. mystartupscript and then I have done the following:
Code:
user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
Code:
user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
Code:
update-rc.d: warning: /etc/init.d/mystartupscript missing LSB information
Code:
user@computer:/etc/init.d$ sudo update-rc.d -f mystartupscript remove user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
Code:
user@computer:/etc/init.d$ sudo chmod +x ./mystartupscript
I hope it can help you.
No comments:
Post a Comment