Do not exit with non-zero return code if sysctl.conf or sysctl.conf.local files
are absent. Approved by: delphij
This commit is contained in:
parent
30b5118d51
commit
eea6404df7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260987
@ -27,7 +27,9 @@ sysctl_start()
|
||||
esac
|
||||
|
||||
for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do
|
||||
[ -r ${_f} ] && ${command} ${command_args} ${_f} > /dev/null
|
||||
if [ -r ${_f} ]; then
|
||||
${command} ${command_args} ${_f} > /dev/null
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user