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)
committerTianling Shen <cnsztl@gmail.com>
Mon, 27 Feb 2023 02:47:11 +0000 (10:47 +0800)
change this to satisfy luci-app-xfrpc's need

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
(cherry picked from commit 10a24d4cad196b790b322bb4132086b1e350fde8)

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