wok-tiny diff fbvnc-ssh/receipt @ rev 142

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:43:23 2019 +0100 (2019-02-27)
parents 817547059bd8
children a28c45a86936
line diff
     1.1 --- a/fbvnc-ssh/receipt	Mon Mar 05 16:43:41 2018 +0100
     1.2 +++ b/fbvnc-ssh/receipt	Wed Feb 27 17:43:23 2019 +0100
     1.3 @@ -27,7 +27,7 @@
     1.4  <tr>
     1.5  <td>Remove virtual consoles ?</td>
     1.6  <td>
     1.7 -<input type="radio" name="VNCONLY" $([ "$VNCONLY" == "no" ] && echo "checked=checked ")value="no"> keep virtual consoles 3 to 6
     1.8 +<input type="radio" name="VNCONLY" $([ "$VNCONLY" = "no" ] && echo "checked=checked ")value="no"> keep virtual consoles 3 to 6
     1.9  <input type="radio" name="VNCONLY" $([ "$VNCONLY" != "no" ] && echo "checked=checked ")value="yes"> keep VNC console only
    1.10  </td>
    1.11  </tr>
    1.12 @@ -61,7 +61,7 @@
    1.13  
    1.14  # From fbvnc-ssh
    1.15  EOT
    1.16 -	[ "$VNCONLY" == "yes" ] &&  cat >> $1/etc/init.d/local.sh <<EOT
    1.17 +	[ "$VNCONLY" = "yes" ] &&  cat >> $1/etc/init.d/local.sh <<EOT
    1.18  sed -i '/^tty[2-9]:.*/d' /etc/inittab
    1.19  EOT
    1.20  	cat >> $1/etc/init.d/local.sh <<EOT