From 29231ce06c3b8fb1fe078586c87bb1c4d692fdb1 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Wed, 17 Nov 2010 13:43:19 +0000 Subject: [PATCH] Consistency and remove the >50 spaces after 'do'... ok robert@ --- src/etc/rc.shutdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.shutdown b/src/etc/rc.shutdown index ef857221..96c0e909 100644 --- a/src/etc/rc.shutdown +++ b/src/etc/rc.shutdown @@ -1,4 +1,4 @@ -# $OpenBSD: rc.shutdown,v 1.8 2010/10/26 20:56:03 robert Exp $ +# $OpenBSD: rc.shutdown,v 1.9 2010/11/17 13:43:19 ajacoutot Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). If the architecture supports keyboard requested halting, @@ -9,7 +9,7 @@ powerdown=NO # set to YES for powerdown echo -n 'stopping local daemons:' -while [ -n "$rc_scripts" ]; do +while [ -n "${rc_scripts}" ]; do _r=${rc_scripts##* } rc_scripts=${rc_scripts%%*( )${_r}} [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} stop && echo -n " ${_r}"