local: quote script names to handle spaces
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
c0aa27ef32
commit
35d38c3561
@ -16,7 +16,7 @@ start()
|
|||||||
|
|
||||||
local file
|
local file
|
||||||
for file in @SYSCONFDIR@/local.d/*.start ; do
|
for file in @SYSCONFDIR@/local.d/*.start ; do
|
||||||
[ -x $file ] && $file
|
[ -x "$file" ] && "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
if type local_start >/dev/null 2>&1; then
|
if type local_start >/dev/null 2>&1; then
|
||||||
@ -36,7 +36,7 @@ stop()
|
|||||||
|
|
||||||
local file
|
local file
|
||||||
for file in @SYSCONFDIR@/local.d/*.stop; do
|
for file in @SYSCONFDIR@/local.d/*.stop; do
|
||||||
[ -x $file ] && $file
|
[ -x "$file" ] && "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
if type local_start >/dev/null 2>&1; then
|
if type local_start >/dev/null 2>&1; then
|
||||||
|
Loading…
Reference in New Issue
Block a user