Commit 9e84a307 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 85667d1c
#!/bin/sh
# shutdown rc scripts
# shutdown rc scripts
/usr/local/etc/rc.opnsense stop
/usr/local/etc/rc.backup_rrd
......
......@@ -19,10 +19,8 @@ do
# check if service is enabled
eval "is_enabled=\$"$rcvar""
# start/stop service
# start/stop service
if [ "$is_enabled" == "YES" ]; then
$rc_filename $1
$rc_filename $1
fi
done
\ No newline at end of file
#!/bin/sh
# shutdown rc scripts
# shutdown rc scripts
/usr/local/etc/rc.opnsense stop
/usr/local/etc/rc.backup_rrd
......@@ -12,8 +12,8 @@ php -a >/dev/null << EOF
if (flock(\$fp, LOCK_EX)) {
flock(\$fp, LOCK_UN);
fclose(\$fp);
}
}
EOF
/sbin/shutdown -or now
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