We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321e158 commit bb09de2Copy full SHA for bb09de2
net/miniupnpd/files/miniupnpd.init
@@ -9,6 +9,7 @@ PROG=/usr/sbin/miniupnpd
9
10
start_service() {
11
upnpd_uci_migration
12
+
13
config_load "upnpd"
14
local enabled config_file log_output conf
15
config_get enabled settings enabled 0
@@ -18,6 +19,7 @@ start_service() {
18
19
log "Service disabled, UCI enabled is not set"
20
return 1
21
fi
22
23
if [ -n "$config_file" ]; then
24
conf="$config_file"
25
else
@@ -26,6 +28,7 @@ start_service() {
26
28
mkdir -p /var/etc
27
29
upnpd_generate_config "$tmpconf" || return 1
30
31
32
if [ "$FW" = "fw4" ]; then
33
nft -s -t -n list chain inet fw4 upnp_forward >/dev/null 2>&1 || fw4 reload
34
0 commit comments