Skip to content

Commit

Permalink
Minor tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
None committed Jun 23, 2017
1 parent 153ec9f commit 5079c98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/scripts/post-config.d/hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion config/scripts/post-config.d/ssh_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions config/user-data/edgerouter-backup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion config/user-data/hooks/03-edgerouter-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5079c98

Please sign in to comment.