wok-6.x diff mosh/receipt @ rev 19010
busybox/fbvnc: wheelmouse support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 28 18:51:16 2016 +0200 (2016-03-28) |
parents | 67d14f298f47 |
children | 2c96382fb33e |
line diff
1.1 --- a/mosh/receipt Sat Oct 03 14:38:08 2015 +0200 1.2 +++ b/mosh/receipt Mon Mar 28 18:51:16 2016 +0200 1.3 @@ -39,7 +39,7 @@ 1.4 1.5 post_install() 1.6 { 1.7 - if ! grep ^DROPBEAR_OPTIONS $1/etc/daemons.conf | grep -q -- -a; then 1.8 + if ! grep ^DROPBEAR_OPTIONS "$1/etc/daemons.conf" | grep -q -- -a; then 1.9 cat <<EOT 1.10 The mosh server needs dropbear to allow connections to forwarded ports 1.11 from any host. Nothing to do if you are using OpenSSH or you plan 1.12 @@ -48,7 +48,7 @@ 1.13 echo -n "Add -a for DROPBEAR_OPTIONS in /etc/daemons.conf now ?" 1.14 read -t 30 answer 1.15 [ "$answer" == "y" ] && 1.16 - sed -i 's/^DROPBEAR_OPTIONS="/&-a /' $1/etc/daemons.conf && 1.17 + sed -i 's/^DROPBEAR_OPTIONS="/&-a /' "$1/etc/daemons.conf" && 1.18 [ -z "$1" ] && /etc/init.d/dropbear restart 1.19 fi 1.20 true