diff options
author | jim-p <jimp@pfsense.org> | 2015-09-10 08:19:02 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-09-10 08:20:56 -0400 |
commit | 8e9f7bc313a4ae23d977b5cf7979cf6036fd2e47 (patch) | |
tree | 4c10058b3597194fdab60c9693a76301ae7acff7 /config | |
parent | 4a0a7f8d47a33abf428b6c43cf56297807b4e4ab (diff) | |
download | pfsense-packages-8e9f7bc313a4ae23d977b5cf7979cf6036fd2e47.tar.gz pfsense-packages-8e9f7bc313a4ae23d977b5cf7979cf6036fd2e47.tar.bz2 pfsense-packages-8e9f7bc313a4ae23d977b5cf7979cf6036fd2e47.zip |
Fix softflowd for 2.1.x, platform_booting() does not exist there.
Diffstat (limited to 'config')
-rw-r--r-- | config/softflowd/softflowd.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/softflowd/softflowd.xml b/config/softflowd/softflowd.xml index adf5359c..b05e8319 100644 --- a/config/softflowd/softflowd.xml +++ b/config/softflowd/softflowd.xml @@ -243,7 +243,11 @@ ) ); /* Only try to restart if not booting */ - if (!platform_booting()) { + if (function_exists("platform_booting")) { + if (!platform_booting()) { + restart_service("softflowd"); + } + } elseif (!($g['booting'])) { restart_service("softflowd"); } } |