summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2008-04-25 18:39:16 -0500
committerDan McGee <dpmcgee@gmail.com>2008-04-25 18:39:16 -0500
commita6ac761bc84069843d957bf6005b99e5136a8de1 (patch)
treed7b7a874dfb1bd4266f4b08315664e59cb9796dd /configs
parent55bf5a95425e4686c6f892bc84b6b6c1551181ce (diff)
downloadeee-a6ac761bc84069843d957bf6005b99e5136a8de1.tar.gz
eee-a6ac761bc84069843d957bf6005b99e5136a8de1.zip
Update configs to my current ones from the Eee
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/fstab17
-rw-r--r--configs/rc.conf26
-rw-r--r--configs/syslog-ng.conf14
3 files changed, 30 insertions, 27 deletions
diff --git a/configs/fstab b/configs/fstab
index 77aebdc..1a58d1f 100644
--- a/configs/fstab
+++ b/configs/fstab
@@ -1,10 +1,13 @@
#
# /etc/fstab: static file system information
#
-# <file system> <dir> <type> <options> <dump> <pass>
-none /dev/pts devpts defaults 0 0
-none /dev/shm tmpfs defaults 0 0
-/dev/sda2 / ext2 defaults,noatime 0 1
-/dev/sda1 /boot ext2 defaults,noatime 0 2
-#/dev/sdb1 /home ext2 defaults,noatime 0 2
-none /tmp tmpfs defaults,size=64m 0 0
+# <file system> <dir> <type> <options> <dump> <pass>
+none /dev/pts devpts defaults 0 0
+none /dev/shm tmpfs defaults 0 0
+/dev/sda2 / ext2 defaults,noatime 0 1
+/dev/sda1 /boot ext2 defaults,noatime 0 2
+#/dev/sdb1 /home ext2 defaults,noatime 0 2
+none /tmp tmpfs defaults,size=256m 0 0
+
+# we really should check this, but the device just doesn't exist at fsck time
+/dev/sdb1 /mnt ext2 defaults,noatime,noauto 0 0
diff --git a/configs/rc.conf b/configs/rc.conf
index 2b93fa5..a48baac 100644
--- a/configs/rc.conf
+++ b/configs/rc.conf
@@ -2,13 +2,13 @@
# /etc/rc.conf - Main Configuration for Arch Linux
#
-#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
+# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
@@ -17,13 +17,13 @@
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
+USEDIRECTISA="yes"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
-#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
@@ -39,7 +39,6 @@ MODULES=(pciehp)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
-#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
@@ -53,30 +52,18 @@ HOSTNAME="kilkenny"
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
-#
-# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
-#
-# Don't use this for wireless interfaces, see network profiles below
-#
eth0="dhcp"
+ath0="dhcp"
INTERFACES=(!eth0)
-#
+
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
ROUTES=()
-#
-# Enable these network profiles at boot-up. These are only useful
-# if you happen to need multiple network configurations (ie, laptop users)
-# - set to 'menu' to present a menu during boot-up (dialog package required)
-# - prefix an entry with a ! to disable it
-#
-# Network profiles are found in /etc/network-profiles
-#
-#NET_PROFILES=(main)
-#
+
+
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
@@ -85,5 +72,6 @@ ROUTES=()
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
+#DAEMONS=(syslog-ng network ifplugd netfs @acpid @crond @alsa)
DAEMONS=(syslog-ng network ifplugd netfs @acpid @crond @alsa @autowifi)
diff --git a/configs/syslog-ng.conf b/configs/syslog-ng.conf
index 9d863f7..1b788a8 100644
--- a/configs/syslog-ng.conf
+++ b/configs/syslog-ng.conf
@@ -21,7 +21,19 @@ source src {
file("/proc/kmsg");
};
+# filters
+filter f_messages { level(info..emerg) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
+filter f_iptables { match("IN=.*OUT="); };
+
# Log everything to vc12
+#destination console_all { file("/dev/vc/12"); };
+#log { source(src); destination(console_all); };
+
+# Log most everything to vc12
destination console_all { file("/dev/vc/12"); };
-log { source(src); destination(console_all); };
+log { source(src); filter(f_messages); destination(console_all); };
+
+# Log all messages to a /tmp file, minus some exceptions
+destination messages { file("/tmp/messages.log"); };
+log { source(src); filter(f_messages); destination(messages); };