11-29-2002
Shut down runner
How do i get win98 to run a script just before shutdown?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've never been on a Unix machine so please be easy on me!!!
I need to create a step by step process for the Unix start up and shut down process.
Thanks for any help in advance. (3 Replies)
Discussion started by: chaughney
3 Replies
2. Windows & DOS: Issues & Discussions
i have a perl script that i want win98 to run evry time at boot.
where should i get it up in windows to do that ??? without using task manager. (1 Reply)
Discussion started by: perleo
1 Replies
3. UNIX for Dummies Questions & Answers
I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies
4. Solaris
Running Solaris 8, Sun Ultra-10 system
during process of checking a crashed hard drive from another system, which I have attached to a good system as a slave 2nd drive....
I ended up with the system in a state where I can not shut it down from the command line. If I try the init 5 or... (4 Replies)
Discussion started by: HikerLT
4 Replies
5. Solaris
Hi ,
I am using Sunsolaris 10 and System model T1000, I am getting This error and system is not booting .
ERROR :
SC Alert: SC initiating soft host system shutdown due to fault at MB/V_+3V3STBY.
Please provide solution for this.
Thanks
Raja (4 Replies)
Discussion started by: rajasm
4 Replies
6. Linux
Hi,
I need to find the last system shutdown time. I got a command last that is used for this.But the command is not give the year. Below i posted the sample output
last -x |grep shutdown
shutdown system down 2.6.31.5-server- Tue Jan 11 11:45 - 11:46 (00:00)
shutdown system down ... (6 Replies)
Discussion started by: maruthu
6 Replies
7. What is on Your Mind?
I was wondering if there was support for Tapatalk or Forum Runner? I tried both, Tapatalk found you guys but it crashes when I try to log in. I log in at the computer no problem (as you can tell) but Tapa refuses to log me in. I even cleared all my tapatalk data and still nothing. Thank you for the... (4 Replies)
Discussion started by: JHutson456
4 Replies
8. Solaris
Is there an easy way (or any way) to determine from a ksh script when a specific zone was shut down? I'm assuming the zone had been running and is now properly shut down in the 'installed' state. Is there a log entry or some other reliable way to find out when the zone had been shut down? (1 Reply)
Discussion started by: kmcgrego
1 Replies
LEARN ABOUT CENTOS
dracut-shutdown.service
DRACUT-SHUTDOWN.S(8) dracut DRACUT-SHUTDOWN.S(8)
NAME
dracut-shutdown.service - unpack the initramfs to /run/initramfs
SYNOPSIS
dracut-shutdown.service
DESCRIPTION
This service unpacks the initramfs image to /run/initramfs. systemd pivots into /run/initramfs at shutdown, so the root filesytem can be
safely unmounted.
The following steps are executed during a shutdown:
o systemd switches to the shutdown.target
o systemd starts /lib/systemd/system/shutdown.target.wants/dracut-shutdown.service
o dracut-shutdown.service executes /usr/lib/dracut/dracut-initramfs-restore which unpacks the initramfs to /run/initramfs
o systemd finishes shutdown.target
o systemd kills all processes
o systemd tries to unmount everything and mounts the remaining read-only
o systemd checks, if there is a /run/initramfs/shutdown executable
o if yes, it does a pivot_root to /run/initramfs and executes ./shutdown. The old root is then mounted on /oldroot.
/usr/lib/dracut/modules.d/99shutdown/shutdown.sh is the shutdown executable.
o shutdown will try to umount every /oldroot mount and calls the various shutdown hooks from the dracut modules
This ensures, that all devices are disassembled and unmounted cleanly.
To debug the shutdown process, you can get a shell in the shutdown procedure by injecting "rd.break=pre-shutdown rd.shell" or
"rd.break=shutdown rd.shell".
# mkdir -p /run/initramfs/etc/cmdline.d
# echo "rd.break=pre-shutdown rd.shell" > /run/initramfs/etc/cmdline.d/debug.conf
# touch /run/initramfs/.need_shutdown
AUTHORS
Harald Hoyer
SEE ALSO
dracut(8)
dracut 09/12/2013 DRACUT-SHUTDOWN.S(8)