set a default for script timeout
authorFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 16:44:14 +0000 (17:44 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 16:44:14 +0000 (17:44 +0100)
main.c

diff --git a/main.c b/main.c
index 09c66c47c4a39b6af7e71aaeb4cc9ae7349c166f..00e43cf60eabbfb72e8dcbf944ce8b3e60372796 100644 (file)
--- a/main.c
+++ b/main.c
@@ -159,6 +159,7 @@ static int usage(const char *name)
 
 static void init_defaults(void)
 {
+       conf.script_timeout = 60;
        conf.network_timeout = 30;
        conf.http_keepalive = 0; /* fixme */
        conf.max_requests = 3;