wok-tiny rev 54
base-tiny: may DISABLE network (!) for jslinux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 17:32:41 2011 +0200 (2011-05-18) |
parents | 3cba490bdf14 |
children | d3c5f3688ec0 |
files | base-tiny/receipt |
line diff
1.1 --- a/base-tiny/receipt Thu May 05 11:53:51 2011 +0200 1.2 +++ b/base-tiny/receipt Wed May 18 17:32:41 2011 +0200 1.3 @@ -67,6 +67,7 @@ 1.4 <td><select name="MODE"> 1.5 <option value="STATIC">STATIC</option> 1.6 <option value="DHCP"$([ "$MODE" == "DHCP" ] && echo ' selected="selected"')>DHCP</option> 1.7 + <option value="DISABLE">DISABLE</option> 1.8 </select></td> 1.9 </tr> 1.10 <tr> 1.11 @@ -107,6 +108,8 @@ 1.12 STATIC="yes" 1.13 case "$MODE" in 1.14 "") return 1;; 1.15 + DISABLE) 1.16 + STATIC="no" ;; 1.17 DHCP) DHCP="yes" 1.18 STATIC="no" 1.19 esac