Changes between Version 1 and Version 2 of TipAndDoc/Hardware/WZR-HP-AG300H
- Timestamp:
- May 10, 2012 12:54:31 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TipAndDoc/Hardware/WZR-HP-AG300H
v1 v2 166 166 167 167 config system 168 option hostname 'OpenWrt'169 option timezone 'UTC'168 option hostname 'OpenWrt' 169 option timezone 'UTC' 170 170 171 171 config timeserver 'ntp' 172 list server '0.openwrt.pool.ntp.org'173 list server '1.openwrt.pool.ntp.org'174 list server '2.openwrt.pool.ntp.org'175 list server '3.openwrt.pool.ntp.org'176 option enable_server '0'172 list server '0.openwrt.pool.ntp.org' 173 list server '1.openwrt.pool.ntp.org' 174 list server '2.openwrt.pool.ntp.org' 175 list server '3.openwrt.pool.ntp.org' 176 option enable_server '0' 177 177 178 178 config button 179 option button 'reset'180 option action 'released'181 option handler 'firstboot && reboot'182 option min '5'183 option max '10'179 option button 'reset' 180 option action 'released' 181 option handler 'firstboot && reboot' 182 option min '5' 183 option max '10' 184 184 }}} 185 185 … … 190 190 191 191 [ "$ACTION" = "released" -a "$BUTTON" = "reset" ] && { 192 logger -t button-hotplug Button: $BUTTON / Action: $ACTION193 firstboot && reboot192 logger -t button-hotplug Button: $BUTTON / Action: $ACTION 193 firstboot && reboot 194 194 } 195 195 }}} … … 255 255 256 256 [ "$ACTION" = "released" -a "$BUTTON" = "reset" ] && { 257 logger -t button-hotplug Button: $BUTTON / Action: $ACTION258 firstboot && reboot257 logger -t button-hotplug Button: $BUTTON / Action: $ACTION 258 firstboot && reboot 259 259 } 260 260 }}} … … 271 271 272 272 config uhttpd 'main' 273 list listen_http '0.0.0.0:80'274 list listen_https '0.0.0.0:443'275 option home '/www'276 option rfc1918_filter '1'277 option cert '/etc/uhttpd.crt'278 option key '/etc/uhttpd.key'279 option cgi_prefix '/cgi-bin'280 option script_timeout '60'281 option network_timeout '30'282 option tcp_keepalive '1'273 list listen_http '0.0.0.0:80' 274 list listen_https '0.0.0.0:443' 275 option home '/www' 276 option rfc1918_filter '1' 277 option cert '/etc/uhttpd.crt' 278 option key '/etc/uhttpd.key' 279 option cgi_prefix '/cgi-bin' 280 option script_timeout '60' 281 option network_timeout '30' 282 option tcp_keepalive '1' 283 283 284 284 config cert 'px5g' 285 option days '730'286 option bits '1024'287 option country 'DE'288 option state 'Berlin'289 option location 'Berlin'290 option commonname 'OpenWrt'285 option days '730' 286 option bits '1024' 287 option country 'DE' 288 option state 'Berlin' 289 option location 'Berlin' 290 option commonname 'OpenWrt' 291 291 }}} 292 292 * root@OpenWrt:~# /etc/init.d/uhttpd start
