1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
9 config_get ifname wan hostname
10 [ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
11 ### WebCallDisabled=$(nvram get "AST_WebCallDisabled")
12 ### WebCallDisabled=$(uci get mars.system.AST_WebCallDisabled)
13 WebCallEnabled=$(uci get mars.webcall.AST_WebCallEnabled)
16 if [ "$WebCallEnabled" = "1" ]; then
17 ## if [ "-$WebCallDisabled" = "-" ]; then
18 httpd -p 32345 -h /www/webcall -r MARS