Tweak dirty upload script

This commit is contained in:
Tony Garnock-Jones 2022-02-09 15:48:53 +01:00
parent 64a87feba6
commit b0ae586e8b
1 changed files with 8 additions and 1 deletions

View File

@ -16,8 +16,15 @@ rsync -avu --rsync-path="./root-rsync" \
${HOST}:/
rsync -avu --rsync-path="./root-rsync" \
protocols/schema-bundle.bin \
${HOST}:/usr/share/synit/schemas/schema-bundle.prb
rsync -avu --rsync-path="./root-rsync" \
protocols/schemas/*.prs \
${HOST}:/usr/share/synit/schemas/
# ssh ${HOST} "
# echo ${SUDOPASS} | sudo -S sh -c 'echo \"! <restart-service <daemon <wifi-daemon \\\"wlan0\\\">>>\" > /run/etc/syndicate/services/throck.pr';
# "
ssh ${HOST} "
echo ${SUDOPASS} | sudo -S sh -c 'echo \"! <restart-service <daemon interface-monitor>>\" > /run/etc/syndicate/throck.pr';
echo ${SUDOPASS} | sudo -S sh -c 'echo \"! <restart-service <daemon user-settings-daemon>>\" > /run/etc/syndicate/services/throck.pr';
"