From 65395c0a7906109e1a5b939d1ecec49f792bcff2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 19 May 2009 12:38:01 -0400 Subject: Don't quote upstart signals. (#501155) --- rc.d/rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc b/rc.d/rc index bf6afb06..50bd477f 100755 --- a/rc.d/rc +++ b/rc.d/rc @@ -65,9 +65,9 @@ for i in /etc/rc$runlevel.d/K* ; do check_runlevel "$i" || continue # Bring the subsystem down. - [ -n "$UPSTART" ] && initctl emit --quiet "stopping $subsys" + [ -n "$UPSTART" ] && initctl emit --quiet stopping $subsys $i stop - [ -n "$UPSTART" ] && initctl emit --quiet "stopped $subsys" + [ -n "$UPSTART" ] && initctl emit --quiet stopped $subsys done # Now run the START scripts. @@ -92,13 +92,13 @@ for i in /etc/rc$runlevel.d/S* ; do update_boot_stage "$subsys" # Bring the subsystem up. - [ -n "$UPSTART" ] && initctl emit --quiet "starting $subsys" + [ -n "$UPSTART" ] && initctl emit --quiet starting $subsys if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then export LC_ALL=C exec $i start fi $i start - [ -n "$UPSTART" ] && initctl emit --quiet "started $subsys" + [ -n "$UPSTART" ] && initctl emit --quiet started $subsys done [ "$do_confirm" = "yes" ] && rm -f /var/run/confirm exit 0 -- cgit v1.2.1