1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
12 config_get res
"$cfg" 'resolution'
13 config_get dev
"$cfg" 'device'
14 config_get port
"$cfg" 'port'
15 service_start bin
/servfox
${dev:+-d $dev} ${res:+-s $res} ${port:+-w $port}
20 config_foreach start_instance
'servfox'
24 service_stop
/bin
/servfox