ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: How to reboot from start scripts?

Subject: Re: How to reboot from start scripts?
From: Derek Broughton
Date: Wed, 12 Sep 2007 15:06:02 -0300
James Takac wrote:

> On Wednesday 12 September 2007 15:48:13 Josef Wolf wrote:
...
>> For example, when fsck for some filesystems fails at startup, you
>> are thrown into a shell to fix the problem.  From that shell, you
>> have no chance to make a proper reboot.  I have tried:
>>
>>   - shutdown -r now
>>   - init 6
>>   - reboot
>>   - halt
...
> 
> Not sure if it makes any difference in this instance but I now the reboot
> needs admin privilages so you usually see sudo reboot rather than reboot
> on its own

He's in the "root" shell  (ie, single user mode), so he doesn't have to sudo
anything.

I'm reasonably certain this used to work with the sysv-init, so I suspect
this is an unintended result of the conversion to upstart.  Which, I'm
afraid, doesn't actually get you any closer to a solution...
-- 
derek


-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

<Prev in Thread] Current Thread [Next in Thread>