mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Tweak the Skipping ${script} logic to also handle symlinks.
Also echo with "-n".
This commit is contained in:
parent
6d14a7bf04
commit
488289d40d
1 changed files with 2 additions and 2 deletions
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 a new issue