Commit f8547f27 authored by Ad Schellevis's avatar Ad Schellevis

rc.freebsd, escape - sign

parent ce8ef993
......@@ -22,6 +22,7 @@ ls /usr/local/etc/rc.d/* /etc/rc.d/* | while read rc_filename; do
if [ "$is_enabled" == "YES" ]; then
if [ "$1" == "start" ]; then
pre_run_var="`basename $rc_filename`_opnsense_bootup_run"
pre_run_var="`echo $pre_run_var | /usr/bin/sed 's/-/\-/g'`"
eval "pre_run=\$"$pre_run_var""
if [ ! -z "$pre_run" ]; then
eval "$pre_run"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment