local: quote script names to handle spaces

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2011-02-06 17:24:52 -05:00
parent c0aa27ef32
commit 35d38c3561

View File

@ -16,7 +16,7 @@ start()
local file
for file in @SYSCONFDIR@/local.d/*.start ; do
[ -x $file ] && $file
[ -x "$file" ] && "$file"
done
if type local_start >/dev/null 2>&1; then
@ -36,7 +36,7 @@ stop()
local file
for file in @SYSCONFDIR@/local.d/*.stop; do
[ -x $file ] && $file
[ -x "$file" ] && "$file"
done
if type local_start >/dev/null 2>&1; then