mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-11-04 22:18:45 +05:00
base: Fix for disable service nextdns
This commit is contained in:
1 parent
a4f3f52397
commit
de6558ce9b
1 file changed
+3
@@ -108,6 +108,9 @@ if [ -f "$DIS_SVC_FN" ]; then
|
|||||||
fi
|
fi
|
||||||
rm -f "$ROOTFSDIR"/etc/rc.d/S??$svc
|
rm -f "$ROOTFSDIR"/etc/rc.d/S??$svc
|
||||||
rm -f "$ROOTFSDIR"/etc/rc.d/K??$svc
|
rm -f "$ROOTFSDIR"/etc/rc.d/K??$svc
|
||||||
|
if [ "$svc" = "nextdns" ]; then
|
||||||
|
sed -i 's/nextdns enable/nextdns disable/g' "$ROOTFSDIR/etc/uci-defaults/nextdns"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user