summaryrefslogtreecommitdiff
path: root/src/conf_mode/bcast_relay.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-16 21:19:37 +0200
committerChristian Poessinger <christian@poessinger.com>2018-05-16 21:19:37 +0200
commit39e706fb245d9f751e2b54017b71f9d6ebc896a8 (patch)
tree7a705bdb62c770461ec4399e33d118f76bd18877 /src/conf_mode/bcast_relay.py
parent959bf023496c1611d2d6d77b24f72b3e964827ce (diff)
downloadvyos-1x-39e706fb245d9f751e2b54017b71f9d6ebc896a8.tar.gz
vyos-1x-39e706fb245d9f751e2b54017b71f9d6ebc896a8.zip
conf_mode: remove generation time from config header and adjust scriptname
Diffstat (limited to 'src/conf_mode/bcast_relay.py')
-rwxr-xr-xsrc/conf_mode/bcast_relay.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/conf_mode/bcast_relay.py b/src/conf_mode/bcast_relay.py
index 785690d9c..95f6215b5 100755
--- a/src/conf_mode/bcast_relay.py
+++ b/src/conf_mode/bcast_relay.py
@@ -19,7 +19,6 @@
import sys
import os
import fnmatch
-import time
import subprocess
from vyos.config import Config
@@ -69,8 +68,7 @@ def verify(relays):
return None
def generate(relays):
- config_header = '### Autogenerated by {0} on {tm} ###\n'.format(os.path.basename(__file__),
- tm=time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime()))
+ config_header = '### Autogenerated by bcast_relay.py ###\n'
config_dir = os.path.dirname(config_file)
config_filename = os.path.basename(config_file)