summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@sydney.vyatta.com>2007-10-18 17:53:03 -0700
committerAn-Cheng Huang <ancheng@sydney.vyatta.com>2007-10-18 17:53:03 -0700
commit758f31ccdf9e6da2d7dd1752ddb6fdefa13590e6 (patch)
treee39be26cb93fa4f3441bd9a67264251d6e4bb7ba /sysconf
parent9c04f3d77a812f648842c72e70f17acfdd08c6b6 (diff)
downloadvyatta-cfg-system-758f31ccdf9e6da2d7dd1752ddb6fdefa13590e6.tar.gz
vyatta-cfg-system-758f31ccdf9e6da2d7dd1752ddb6fdefa13590e6.zip
* import system config files from fairfield/xorp/sysconf.
* add dependencies and postinst actions.
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/hosts1
-rw-r--r--sysconf/logrotate_messages9
-rw-r--r--sysconf/motd.tail4
-rw-r--r--sysconf/syslog.conf1
4 files changed, 15 insertions, 0 deletions
diff --git a/sysconf/hosts b/sysconf/hosts
new file mode 100644
index 00000000..ba712fe0
--- /dev/null
+++ b/sysconf/hosts
@@ -0,0 +1 @@
+127.0.0.1 localhost
diff --git a/sysconf/logrotate_messages b/sysconf/logrotate_messages
new file mode 100644
index 00000000..c2f662ff
--- /dev/null
+++ b/sysconf/logrotate_messages
@@ -0,0 +1,9 @@
+/var/log/messages {
+ missingok
+ notifempty
+ rotate 10
+ size=1000k
+ postrotate
+ kill -HUP `cat /var/run/syslogd.pid`
+ endscript
+}
diff --git a/sysconf/motd.tail b/sysconf/motd.tail
new file mode 100644
index 00000000..0ae9e837
--- /dev/null
+++ b/sysconf/motd.tail
@@ -0,0 +1,4 @@
+Welcome to Vyatta.
+This system is open-source software. The exact distribution terms for
+each module comprising the full system are described in the individual
+files in /usr/share/doc/*/copyright.
diff --git a/sysconf/syslog.conf b/sysconf/syslog.conf
new file mode 100644
index 00000000..5f7bff4f
--- /dev/null
+++ b/sysconf/syslog.conf
@@ -0,0 +1 @@
+*.warning /var/log/messages