wok-next diff mosh/receipt @ rev 19342
Up busybox (1.25.0), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 20 09:51:19 2016 +0200 (2016-07-20) |
parents | 67d14f298f47 |
children | 6c12ac1293fc |
line diff
1.1 --- a/mosh/receipt Sat Oct 03 14:38:08 2015 +0200 1.2 +++ b/mosh/receipt Wed Jul 20 09:51:19 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