Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/sbin/halt, etc. deleted!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Tue Nov 05, 2002 3:47 pm    Post subject: /sbin/halt, etc. deleted! Reply with quote

Hi all,

I have a really strange problem. I don't know when it happend, but sometime in the last week the /sbin/halt, reboot, shutdown, etc. script became deleted!
And I have really absolutely no idea why and how!

But sometimes it would be nice, to be able to shut down or reboot the machine!
Can someone help me getting this scripts back?
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
Eddy
n00b
n00b


Joined: 25 Sep 2002
Posts: 20
Location: Maastricht/Uitgeest, Holland

PostPosted: Tue Nov 05, 2002 4:01 pm    Post subject: Reply with quote

Maybe you can use /sbin/init to halt and reboot.
Type as root init 0 to halt and init 6 to reboot.

Eddy
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Tue Nov 05, 2002 4:03 pm    Post subject: Reply with quote

also the init script isn't there anymore!
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Tue Nov 05, 2002 4:10 pm    Post subject: Reply with quote

Hmm, you can try emerging the package that contains those files (if emerge still works for you). I think baselayout - though you may be missing some files from other packages as well. Do a "grep -R [whatever] *" in /var/db/pkg to find out what packages contain files you're missing .
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Tue Nov 05, 2002 4:16 pm    Post subject: Reply with quote

Don't seems like they are in baselayout...
Any other ideas in which package they could be?
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 05, 2002 7:42 pm    Post subject: Reply with quote

Gulliver wrote:
Don't seems like they are in baselayout...
Any other ideas in which package they could be?

They're in baselayout here - did the baselayout emerge complete without error?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Tue Nov 05, 2002 7:44 pm    Post subject: Reply with quote

It get's a lot of movement error in /dev, which shouldn't be related to my problem.
I cancelled the ebuild now, and copied the init script by hand to sbin from the rcscripts package. but I still miss reboot, shutdown, etc.
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 05, 2002 8:52 pm    Post subject: Reply with quote

Gulliver wrote:
I still miss reboot, shutdown, etc.

shutdown is shutdown, but reboot is just a symlink to halt.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum