Tweak the Skipping ${script} logic to also handle symlinks.
Also echo with "-n".
This commit is contained in:
parent
6d14a7bf04
commit
488289d40d
4
etc/rc
4
etc/rc
@ -806,8 +806,8 @@ case ${local_startup} in
|
||||
(set -T
|
||||
trap 'exit 1' 2
|
||||
${script} start)
|
||||
elif [ -f "${script}" ]; then
|
||||
echo "Skipping ${script}, not executable"
|
||||
elif [ -f "${script}" -or -l "${script}" ]; then
|
||||
echo -n " Skipping ${script}, not executable"
|
||||
fi
|
||||
done
|
||||
IFS="${script_save_sep}"
|
||||
|
Loading…
Reference in New Issue
Block a user