Adding functional usage of client self updater #10
- Added update command to the server - Server can request nodes update - Nodes have an 'endpoint' for updating - Fixes to the install script
This commit is contained in:
@@ -49,7 +49,7 @@ prompt_nearby_system() {
|
||||
fi
|
||||
|
||||
echo "\"$system_name\": {
|
||||
\"frequencies\": [$(echo "$frequencies" | sed 's/,/","/g')],
|
||||
\"frequencies\": [\"$(echo "$frequencies" | sed 's/,/","/g')\"],
|
||||
\"mode\": \"$mode\",
|
||||
\"trunkFile\": \"$trunk_file\",
|
||||
\"whitelistFile\": \"$whitelist_file\"
|
||||
@@ -113,7 +113,7 @@ systems_json="${systems_json%,}" # Remove trailing comma
|
||||
systems_json+="}"
|
||||
|
||||
# Append the created systems to the presets file
|
||||
mkdir ./config
|
||||
mkdir -p ./config
|
||||
echo "$systems_json" >> "./config/radioPresets.json"
|
||||
|
||||
echo "Systems added to radioPresets.json."
|
||||
|
||||
Reference in New Issue
Block a user