3 .
/usr
/lib
/webif
/webif.sh
7 [ -z $FORM_submit ] && {
8 FORM_hostname
=${wan_hostname:-$(nvram get wan_hostname)}
9 FORM_hostname
=${FORM_hostname:-OpenWrt}
10 grep BCM947
/proc
/cpuinfo
2>&- >&- && {
11 FORM_boot_wait
=${boot_wait:-$(nvram get boot_wait)}
12 FORM_boot_wait
=${FORM_boot_wait:-off}
16 [ -z $FORM_hostname ] || save_setting system wan_hostname
$FORM_hostname
17 grep BCM947
/proc
/cpuinfo
2>&- >&- && {
18 [ -z $FORM_boot_wait ] || save_setting nvram boot_wait
$FORM_boot_wait
21 header
"System" "Settings" "System settings"
23 <?
if [ "$SAVED" = "1" ] ?
>
24 <h2
>Settings saved
</h2
>
27 grep BCM947
/proc
/cpuinfo
2>&- >&- && bootwait_form
="field:boot_wait
28 radio:boot_wait:$FORM_boot_wait:on:On<br />
29 radio:boot_wait:$FORM_boot_wait:off:Off"
31 display_form
"start_form:$SCRIPT_NAME
33 text:hostname:$FORM_hostname
36 submit:action:Save settings
43 ##WEBIF:name:System:1:Settings