diff options
| author | Brian S. Dean <bsd@FreeBSD.org> | 2001-10-17 14:30:19 +0000 |
|---|---|---|
| committer | Brian S. Dean <bsd@FreeBSD.org> | 2001-10-17 14:30:19 +0000 |
| commit | cd218bbaed2d6e5489185f1aaaa740b6e9036c58 (patch) | |
| tree | 6a01500b0462c79d6ef02726ab49a8eeccea473b /etc/rc.d/diskless | |
| parent | 2967d8485e8b361e93a4f7e29d51e3015399ae61 (diff) | |
Notes
Diffstat (limited to 'etc/rc.d/diskless')
| -rw-r--r-- | etc/rc.d/diskless | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/diskless b/etc/rc.d/diskless index 740c23c32a53..ce883742205a 100644 --- a/etc/rc.d/diskless +++ b/etc/rc.d/diskless @@ -66,6 +66,9 @@ mount_md ${varsize:=32m} /var 1 echo "+++ populate /var using /etc/mtree/BSD.var.dist" /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var case ${sendmail_enable} in +echo "+++ create log files based on the contents of /etc/newsyslog.conf" +LOGFILES=`/usr/bin/awk '$1 != "#" { printf "%s ", $1 } ' /etc/newsyslog.conf` +if [ -n "$LOGFILES" ]; then /usr/bin/touch $LOGFILES fi |
