summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--debian/vyatta-cfg-system.postinst.in6
-rw-r--r--sysconf/issue2
-rw-r--r--sysconf/issue.net1
4 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index fc9c56c2..00327c24 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,8 @@ bin_sudo_users_SCRIPTS += scripts/keepalived/vyatta-show-vrrp.pl
sysconf_DATA += sysconf/LICENSE
sysconf_DATA += sysconf/logrotate_messages
+sysconf_DATA += sysconf/issue
+sysconf_DATA += sysconf/issue.net
sysconf_DATA += sysconf/motd.tail
sysconf_DATA += sysconf/syslog.conf
sysconf_DATA += sysconf/ntp.conf
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 38757106..a44fe657 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -109,6 +109,12 @@ EOF
# purge off ancient devfs stuff from /etc/securetty
cp $sysconfdir/securetty /etc/securetty
+
+ for f in issue issue.net; do
+ if [ ! -e /etc/$f.old ]; then
+ cp $sysconfdir/$f /etc/$f
+ fi
+ done
fi
# update crontab for logrotate
diff --git a/sysconf/issue b/sysconf/issue
new file mode 100644
index 00000000..f2618cff
--- /dev/null
+++ b/sysconf/issue
@@ -0,0 +1,2 @@
+Welcome to Vyatta - \n \l
+
diff --git a/sysconf/issue.net b/sysconf/issue.net
new file mode 100644
index 00000000..7f09caf6
--- /dev/null
+++ b/sysconf/issue.net
@@ -0,0 +1 @@
+Welcome to Vyatta