aboutsummaryrefslogtreecommitdiff
path: root/net/ser2net/files/ser2net.init
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2018-01-18 22:30:19 +0100
committerMichael Heimpold <mhei@heimpold.de>2018-01-18 22:30:27 +0100
commite3e2c0848751a318c543bcb51a5880ad5211e18a (patch)
treec32943e3f49a222864d45d17758943691b11e1ee /net/ser2net/files/ser2net.init
parente1f66e0ee78e38d7358542de6c95c5886f442ec1 (diff)
ser2net: fix dynamic config generation (refs #5302)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'net/ser2net/files/ser2net.init')
-rw-r--r--net/ser2net/files/ser2net.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ser2net/files/ser2net.init b/net/ser2net/files/ser2net.init
index 59516bee5..2f7a3d5e7 100644
--- a/net/ser2net/files/ser2net.init
+++ b/net/ser2net/files/ser2net.init
@@ -165,7 +165,7 @@ start_service() {
config_load ser2net
- config_get_bool enabled ser2net enabled 0
+ config_get_bool enabled global enabled 0
[ "$enabled" -gt 0 ] || return 0
cat "$STATICCFGFILE" - 2>/dev/null <<-EOF > "$DYNAMICCFGFILE"