summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init/vyos-router2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 2a05aa3..ec68db2 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -317,7 +317,7 @@ start ()
nfct helper add tns inet tcp
nft -f /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules"
- rm /etc/hostname
+ rm -f /etc/hostname
${vyos_conf_scripts_dir}/host_name.py || log_failure_msg "could not reset host-name"
systemctl start frr.service