SVN: rc-scripts/trunk/rc.d/rc.shutdown
glen
glen at pld-linux.org
Sun Oct 23 21:25:20 CEST 2011
Author: glen
Date: Sun Oct 23 21:25:20 2011
New Revision: 12388
Modified:
rc-scripts/trunk/rc.d/rc.shutdown
Log:
emit shutdown events
Modified: rc-scripts/trunk/rc.d/rc.shutdown
==============================================================================
--- rc-scripts/trunk/rc.d/rc.shutdown (original)
+++ rc-scripts/trunk/rc.d/rc.shutdown Sun Oct 23 21:25:20 2011
@@ -193,6 +193,10 @@
show "On the next boot fsck will be skipped."; ok
fi
+ # not really sure where thse events should go
+ emit stopped JOB=shutdown
+ emit stopping JOB=shutdown
+
if [ -x /sbin/kexec ] && [ "$kexec_loaded" = "1" ]; then
show "Will now restart with kexec"
/sbin/kexec -e
More information about the pld-cvs-commit
mailing list