Tweak the Skipping ${script} logic to also handle symlinks.

Also echo with "-n".
This commit is contained in:
David E. O'Brien 2001-10-01 21:30:27 +00:00
parent 6d14a7bf04
commit 488289d40d

4
etc/rc
View File

@ -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}"