summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 16:40:49 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 16:40:49 -0800
commit79ee9229cc8ad833c4bb4e0eaf89cfe3645ed094 (patch)
tree817823ac6ec386e05d73cc5efe9c0c9297445e23
parent76b12db507c0381b9b93db73a4cacab89dcd8c13 (diff)
downloadvyatta-cfg-system-79ee9229cc8ad833c4bb4e0eaf89cfe3645ed094.tar.gz
vyatta-cfg-system-79ee9229cc8ad833c4bb4e0eaf89cfe3645ed094.zip
don't need to change /etc/hosts in postinst
-rw-r--r--Makefile.am1
-rw-r--r--debian/vyatta-cfg-system.postinst.in4
-rw-r--r--sysconf/hosts1
3 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 0318e03e..c3aea76e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,6 @@ sbin_SCRIPTS += scripts/telnetd.init
share_perl5_DATA = scripts/keepalived/VyattaKeepalived.pm
-sysconf_DATA += sysconf/hosts
sysconf_DATA += sysconf/logrotate_messages
sysconf_DATA += sysconf/motd.tail
sysconf_DATA += sysconf/syslog.conf
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 15287bcc..42085362 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -19,7 +19,7 @@ ln -sf ${bindir}/progress-indicator /usr/bin/progress-indicator
if [ "$sysconfdir" != "/etc" ]; then
# remove the config files and replace with blank ones
- for conf in hosts motd.tail ntp.conf syslog.conf logrotate.d/messages \
+ for conf in motd.tail ntp.conf syslog.conf logrotate.d/messages \
default/ssh ssh/ssh_host_key quagga/daemons quagga/zebra.conf \
quagga/bgpd.conf quagga/ospfd.conf quagga/ospf6d.conf \
quagga/ripd.conf quagga/ripngd.conf quagga/isisd.conf \
@@ -31,7 +31,7 @@ if [ "$sysconfdir" != "/etc" ]; then
done
# use our config files
- for conf in hosts motd.tail syslog.conf; do
+ for conf in motd.tail syslog.conf; do
cp $sysconfdir/$conf /etc/$conf
done
cp $sysconfdir/logrotate_messages /etc/logrotate.d/messages
diff --git a/sysconf/hosts b/sysconf/hosts
deleted file mode 100644
index ba712fe0..00000000
--- a/sysconf/hosts
+++ /dev/null
@@ -1 +0,0 @@
-127.0.0.1 localhost