diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-04-25 19:44:34 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-04-25 19:44:34 +0200 |
commit | 0171568697c70a7925ed2f1896826609e9dc5c40 (patch) | |
tree | 351e5cd59328a9231acc97d348cd31e8361d3363 /build.sh | |
parent | 1124e80b62bca5e49a4c81072c4b0d2811ddfebb (diff) | |
download | OpenBSD-firewall-0171568697c70a7925ed2f1896826609e9dc5c40.tar.gz OpenBSD-firewall-0171568697c70a7925ed2f1896826609e9dc5c40.tar.bz2 |
made newsyslog.conf a config file and not a template (needs adaption for small /var/log filesystems)
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -280,7 +280,6 @@ cp -R template/etc/pf.os $MOUNTPOINT/etc/. cp -R template/etc/syslog.conf $MOUNTPOINT/etc/. cp -R template/etc/tabs $MOUNTPOINT/etc/. chmod 0600 $MOUNTPOINT/etc/tabs/* -cp -R template/etc/newsyslog.conf $MOUNTPOINT/etc/. cp -R template/etc/ssh/sshd_config $MOUNTPOINT/etc/ssh/. cp -R template/etc/moduli $MOUNTPOINT/etc/. cp -R /usr/share/zoneinfo/Europe/Zurich $MOUNTPOINT/etc/localtime @@ -294,6 +293,7 @@ cp -R config/$HOSTNAME/networks $MOUNTPOINT/etc/. cp -R config/$HOSTNAME/pf.conf $MOUNTPOINT/etc/. cp -R config/$HOSTNAME/badhosts $MOUNTPOINT/etc/. cp -R config/$HOSTNAME/resolv.conf $MOUNTPOINT/etc/. +cp -R config/$HOSTNAME/newsyslog.conf $MOUNTPOINT/etc/. m4 -DHOSTNAME=$HOSTNAME template/etc/rc > $MOUNTPOINT/etc/rc # depending on the existence of some config files for the specific build |