xfrpc: set xfrpc's disabled default value to 0
authorDengfeng Liu <liudf0716@gmail.com>
Thu, 30 Jun 2022 05:54:19 +0000 (13:54 +0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 6 Jul 2022 05:03:12 +0000 (22:03 -0700)
change this to satisfy luci-app-xfrpc's need

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
net/xfrpc/files/xfrpc.init

index fc0053e2740b722bb0f523e5d92ff3876d00fd00..aa999bc68a253c26e83091aa780b92653e079d46 100755 (executable)
@@ -64,7 +64,7 @@ start_service() {
        config_load "$NAME"
 
        uci_validate_section xfrpc xfrp init \
-                       'disabled:bool:1' \
+                       'disabled:bool:0' \
                        'loglevel:uinteger:0'
 
        if [ $disabled = 1 ]; then