View previous topic :: View next topic |
Author |
Message |
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Tue Nov 05, 2002 3:47 pm Post subject: /sbin/halt, etc. deleted! |
|
|
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 |
|
|
Eddy n00b
Joined: 25 Sep 2002 Posts: 20 Location: Maastricht/Uitgeest, Holland
|
Posted: Tue Nov 05, 2002 4:01 pm Post subject: |
|
|
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 |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Tue Nov 05, 2002 4:03 pm Post subject: |
|
|
also the init script isn't there anymore! _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Tue Nov 05, 2002 4:10 pm Post subject: |
|
|
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 |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Tue Nov 05, 2002 4:16 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 05, 2002 7:42 pm Post subject: |
|
|
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 |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Tue Nov 05, 2002 7:44 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 05, 2002 8:52 pm Post subject: |
|
|
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 |
|
|
|