Merge pull request #258 from craftyguy/enable_syslog

Enable syslog on boot
This commit is contained in:
Martijn Braam 2017-07-27 09:33:09 +02:00 committed by GitHub
commit 750a1c8e29
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="Meta package for minimal postmarketos base"
url="https://github.com/postmarketOS"
arch="noarch"

View file

@ -6,7 +6,7 @@
for service in devfs dmesg; do
rc-update -q add $service sysinit
done
for service in hwclock modules sysctl hostname bootmisc wpa_supplicant wifi-handler; do
for service in hwclock modules sysctl hostname bootmisc wpa_supplicant wifi-handler syslog; do
rc-update -q add $service boot
done
for service in haveged sshd udev; do
@ -48,3 +48,6 @@ if ! apk audit /etc | grep -q etc/motd; then
echo ''
} >/etc/motd
fi
# Enable syslog to SHM. Note: size is 4048KiB, which *should* be More Than Enough(TM) for all but the most chattiest of devices.
sed s/=\"/=\""-C4048 "/ -i /etc/conf.d/syslog