On Sat, Feb 25, 2012 at 03:05:48PM +0800, nathhuan wrote:
hi guys
who can tell me which script will be called while the fedora system
shutdown?
thanks in advance.
Fedora uses systemd for startup/shutdown functions. systemd has a set
of special targets available for compatibility with the original
initscripts. You can read more here:
http://www.freedesktop.org/software/systemd/man/systemd.special.html
The "poweroff.target" is probably what you're looking for. You can
read the target files themselves in /lib/systemd/system/ for more
details. Hope this helps.
--
Paul W. Frields
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
http://redhat.com/ - - - -
http://pfrields.fedorapeople.org/
The open source story continues to grow:
http://opensource.com