diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-05-16 21:19:37 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-05-16 21:19:37 +0200 |
commit | 39e706fb245d9f751e2b54017b71f9d6ebc896a8 (patch) | |
tree | 7a705bdb62c770461ec4399e33d118f76bd18877 /src/conf_mode/mdns_repeater.py | |
parent | 959bf023496c1611d2d6d77b24f72b3e964827ce (diff) | |
download | vyos-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/mdns_repeater.py')
-rwxr-xr-x | src/conf_mode/mdns_repeater.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/mdns_repeater.py b/src/conf_mode/mdns_repeater.py index e648fd64f..474a6a5cf 100755 --- a/src/conf_mode/mdns_repeater.py +++ b/src/conf_mode/mdns_repeater.py @@ -18,8 +18,8 @@ import sys import os + import netifaces -import time from vyos.config import Config from vyos import ConfigError @@ -59,7 +59,7 @@ def verify(mdns): return None def generate(mdns): - config_header = '### Autogenerated by vyos-update-mdns-repeater.py on {tm} ###\n'.format(tm=time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime())) + config_header = '### Autogenerated by mdns_repeater.py ###\n' if len(mdns) > 0: config_args = 'DAEMON_ARGS="' + ' '.join(str(e) for e in mdns) + '"\n' else: |