From 36d42fc7ceffb5c4897d105f0286b9e1e58543b8 Mon Sep 17 00:00:00 2001 From: aktienmakler Date: Sat, 24 Jan 2026 22:58:48 +0100 Subject: [PATCH] Update install-client.sh To avoid running into "sh: /usr/libexec/sftp-server: not found", you can revert back to scp previous behaviour an ignore transferring with sftp. --- mqtt/client/install-client.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mqtt/client/install-client.sh b/mqtt/client/install-client.sh index 48fbe10..3175470 100755 --- a/mqtt/client/install-client.sh +++ b/mqtt/client/install-client.sh @@ -12,7 +12,7 @@ LOCALDIR="/var/etc/persistent/mqtt" LOCALSCRIPTDIR=$LOCALDIR/client BASEURL="https://raw.githubusercontent.com/magcode/mpower-tools/master/mqtt" SSH_PARAMS="-o PubkeyAcceptedKeyTypes=+ssh-rsa -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss -o Ciphers=+aes256-cbc -o StrictHostKeyChecking=accept-new" -SCP_PARAMS="$SSH_PARAMS" +SCP_PARAMS="$SSH_PARAMS -O" echo "Installing mPower MQTT v2 ... to $TARGET" wget --no-check-certificate -q $BASEURL/libmosquitto.so.1?raw=true -O $WORK_DIR/libmosquitto.so.1 @@ -93,4 +93,4 @@ echo "Done!" echo "Please configure mqtt.cfg" echo "Please configure mpower-pub.cfg" echo "Please configure led.cfg" -echo "run 'save' command on $TARGET if you are done." \ No newline at end of file +echo "run 'save' command on $TARGET if you are done."