wok diff mosh/receipt @ rev 19679
get-flash-plugin: update wget url
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Feb 10 19:24:02 2017 -0500 (2017-02-10) |
parents | 67d14f298f47 |
children | 2c96382fb33e |
line diff
1.1 --- a/mosh/receipt Sat Oct 03 14:38:08 2015 +0200 1.2 +++ b/mosh/receipt Fri Feb 10 19:24:02 2017 -0500 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