diff --git a/config/scripts/post-config.d/hooks.sh b/config/scripts/post-config.d/hooks.sh index c207b9f..29dc868 100644 --- a/config/scripts/post-config.d/hooks.sh +++ b/config/scripts/post-config.d/hooks.sh @@ -6,4 +6,4 @@ sudo ln -fs /config/user-data/hooks/* /etc/commit/post-hooks.d/ # Ensure scripts are executable sudo chmod +x /config/user-data/hooks/* -exit 0 +exit 0 \ No newline at end of file diff --git a/config/scripts/post-config.d/ssh_keys.sh b/config/scripts/post-config.d/ssh_keys.sh index cfe105f..74ca50a 100644 --- a/config/scripts/post-config.d/ssh_keys.sh +++ b/config/scripts/post-config.d/ssh_keys.sh @@ -5,4 +5,4 @@ source /config/user-data/edgerouter-backup.conf sudo chown root $SSH_KEYFILE sudo chmod 600 $SSH_KEYFILE -exit 0 +exit 0 \ No newline at end of file diff --git a/config/user-data/edgerouter-backup.conf b/config/user-data/edgerouter-backup.conf index b916516..236b25b 100644 --- a/config/user-data/edgerouter-backup.conf +++ b/config/user-data/edgerouter-backup.conf @@ -12,5 +12,4 @@ REPO_PATH=\~/edgerouter-backups # multiple EdgeRouters to the same place you'll want to ensure the names # are unique to each EdgeRouter FNAME_CONFIG=$HOSTNAME.config.conf -FNAME_CLI=$HOSTNAME.commands.conf - +FNAME_CLI=$HOSTNAME.commands.conf \ No newline at end of file diff --git a/config/user-data/hooks/03-edgerouter-backup.sh b/config/user-data/hooks/03-edgerouter-backup.sh index ee1792e..48388e4 100644 --- a/config/user-data/hooks/03-edgerouter-backup.sh +++ b/config/user-data/hooks/03-edgerouter-backup.sh @@ -19,4 +19,4 @@ ENDSSH # Remove temporary config files sudo rm /config/user-data/$FNAME_CONFIG -sudo rm /config/user-data/$FNAME_CLI +sudo rm /config/user-data/$FNAME_CLI \ No newline at end of file