Create run.sh
This commit is contained in:
10
sync/run.sh
Normal file
10
sync/run.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
sed -e
|
||||
|
||||
CONFIG_PATH=/data/options.json
|
||||
|
||||
TARGET=$(jq --raw-output ".target" $CONFIG_PATH)
|
||||
USERNAME=$(jq --raw-output ".username" $CONFIG_PATH)
|
||||
PASSWORD=$(jq --raw-output ".password" $CONFIG_PATH)
|
||||
|
||||
echo "fake copy from /config to $TARGET@$USERNAME"
|
||||
Reference in New Issue
Block a user