fix up the order of respawn parameters for ubus
authorJohn Crispin <blogic@openwrt.org>
Tue, 19 Nov 2013 14:48:37 +0000 (15:48 +0100)
committerJohn Crispin <blogic@openwrt.org>
Tue, 19 Nov 2013 16:20:23 +0000 (17:20 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
service/service.c

index 4153fec..d084371 100644 (file)
@@ -446,9 +446,9 @@ service_start_early(char *name, char *cmdline)
        }
        blobmsg_close_array(&b, command);
        respawn = blobmsg_open_array(&b, "respawn");
-       blobmsg_add_string(&b, NULL, "1");
        blobmsg_add_string(&b, NULL, "3600");
-       blobmsg_add_string(&b, NULL, "10");
+       blobmsg_add_string(&b, NULL, "1");
+       blobmsg_add_string(&b, NULL, "0");
        blobmsg_close_array(&b, respawn);
        blobmsg_close_table(&b, instance);
        blobmsg_close_table(&b, instances);