Tagged Questions
9
votes
1answer
3k views
Is reboot the same as init 6?
Is reboot the same as init 6 for ubuntu?
I'm running Ubuntu 12.04 on Amazon EC2. When ssh'ed into the box I can type runlevel and I get:
N 2
Looking at man reboot I see that:
When called with ...
3
votes
1answer
614 views
On 10.04 Lucid, how can I add a script to startup to run as another user?
On 10.04 Lucid, how can I add a script to run at startup as another user?
Will I add a script someplace like /etc/init.d/myscript ? Or is it better to put it in the cron file for root as @reboot and ...
3
votes
1answer
2k views
When you run `update-rc.d myscript default` - what is called on startup/shutdown?
What gets called on startup/shutdown when you run update-rc.d myscript default?
Docs seem fuzzy, I want concrete. I am guessing that this happens:
At startup (specifically at entry to runlevel 2, ...
0
votes
1answer
91 views
Start the same “sessions” after shutdown
Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building.
Is there a way, when I next boot the laptop, to ...