Install newsyslog.conf when building ISO
This commit is contained in:
parent
f49d59e618
commit
672b830547
@ -366,6 +366,9 @@ cat > $WDIR/etc/sysctl.conf <<EOF
|
||||
net.inet6.ip6.dad_count=0
|
||||
EOF
|
||||
|
||||
echo "[*] Update newsyslog.conf"
|
||||
cp $HERE/etc/newsyslog.conf $WDIR/etc/newsyslog.conf
|
||||
|
||||
echo "[*] Add rc.local file...."
|
||||
cp $HERE/etc/rc.local $WDIR/etc/rc.local
|
||||
|
||||
|
17
scripts/etc/newsyslog.conf
Normal file
17
scripts/etc/newsyslog.conf
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: newsyslog.conf,v 1.29 2011/04/14 20:32:34 sthen Exp $
|
||||
#
|
||||
# configuration file for newsyslog
|
||||
#
|
||||
# logfile_name owner:group mode count size when flags
|
||||
/var/cron/log root:wheel 600 3 10 * Z
|
||||
/var/log/aculog uucp:dialer 660 7 * 24 Z
|
||||
/var/log/authlog root:wheel 640 7 * 168 Z
|
||||
/var/log/daemon 640 5 30 * Z
|
||||
/var/log/lpd-errs 640 7 10 * Z
|
||||
/var/log/maillog 600 7 * 24 Z
|
||||
/var/log/messages 644 5 30 * Z
|
||||
/var/log/secure 600 7 * 168 Z
|
||||
/var/log/wtmp 644 7 * $W6D4 B
|
||||
/var/log/xferlog 640 7 250 * Z
|
||||
/var/log/ppp.log 640 7 250 * Z
|
||||
/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd"
|
Loading…
x
Reference in New Issue
Block a user