OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 5... Line 5...
5 USE_PROCD=1 5 USE_PROCD=1
6 NAME=rpcd 6 NAME=rpcd
7 PROG=/sbin/rpcd 7 PROG=/sbin/rpcd
Line 8... Line 8...
8   8  
9 start_service() { -  
10 local socket=$(uci -q get rpcd.@rpcd[0].socket) -  
11 local timeout=$(uci -q get rpcd.@rpcd[0].timeout) -  
12   9 start_service() {
13 procd_open_instance 10 procd_open_instance
14 procd_set_param command "$PROG" ${socket:+-s "$socket"} ${timeout:+-t "$timeout"} 11 procd_set_param command "$PROG"
15 procd_close_instance 12 procd_close_instance
Line 16... Line 13...
16 } 13 }
17   14