aboutsummaryrefslogtreecommitdiffstats
path: root/config/softflowd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-03 15:36:33 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-03 15:36:33 +0200
commit6f8ed8b3cfd0ef01921f58c4ca32008a68808ef5 (patch)
treeec4996d90a5f7640c648b138b9ba35d13d568a4b /config/softflowd
parentfb58c0ca27dd3d11fb1ed4f618167491260de5ff (diff)
downloadpfsense-packages-6f8ed8b3cfd0ef01921f58c4ca32008a68808ef5.tar.gz
pfsense-packages-6f8ed8b3cfd0ef01921f58c4ca32008a68808ef5.tar.bz2
pfsense-packages-6f8ed8b3cfd0ef01921f58c4ca32008a68808ef5.zip
softflowd.xml - use platform_booting() to check for boot
Diffstat (limited to 'config/softflowd')
-rw-r--r--config/softflowd/softflowd.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/softflowd/softflowd.xml b/config/softflowd/softflowd.xml
index 8b9ce1f3..e53553ae 100644
--- a/config/softflowd/softflowd.xml
+++ b/config/softflowd/softflowd.xml
@@ -244,7 +244,7 @@
)
);
/* Only try to restart if not booting */
- if (!($g['booting'])) {
+ if (platform_booting()) {
restart_service("softflowd");
}
}