diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-02-26 05:42:37 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-02-26 05:42:37 -0500 |
commit | b6ec61e05e4ad04cb49ba51ca599935ba50aa7e6 (patch) | |
tree | b9c1868df1d17f9ad81b6a1b5628f8f78b9413d2 | |
parent | f1e9b5e675d5e8f7b4309fb4c1df509817b3387a (diff) | |
download | vyatta-cfg-b6ec61e05e4ad04cb49ba51ca599935ba50aa7e6.tar.gz vyatta-cfg-b6ec61e05e4ad04cb49ba51ca599935ba50aa7e6.zip |
Do not remove dhclient.conf, the default config is harmless anyway.
-rw-r--r-- | debian/vyatta-cfg.postinst.in | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in index 111be91..26359e1 100644 --- a/debian/vyatta-cfg.postinst.in +++ b/debian/vyatta-cfg.postinst.in @@ -18,15 +18,6 @@ done update-rc.d vyatta-router defaults 90 >/dev/null -if [ "$sysconfdir" != "/etc" ]; then - # remove the config files and replace with blank ones - for conf in dhcp/dhclient.conf - do - [ -f /etc/$conf ] && mv -f /etc/$conf /etc/$conf.vyatta-save - touch /etc/$conf - done -fi - # capability stuff for bin in my_cli_bin my_cli_shell_api; do touch -ac $sbindir/$bin |