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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit