mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
pkg: shell magic, indent, whitespaces
This commit is contained in:
parent
984522a7e4
commit
d963cad001
@ -25,9 +25,6 @@ echo "Writing OPNsense version"
|
||||
mkdir -p /usr/local/opnsense/version
|
||||
echo "%%REPO_VERSION%%-%%REPO_COMMENT%%" > /usr/local/opnsense/version/opnsense
|
||||
|
||||
# restart configd if running
|
||||
/usr/local/etc/rc.d/configd status > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
/usr/local/etc/rc.d/configd restart
|
||||
if /usr/local/etc/rc.d/configd status > /dev/null; then
|
||||
/usr/local/etc/rc.d/configd restart
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user