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 pkgname=postmarketos-base
pkgver=2 pkgver=2
pkgrel=1 pkgrel=2
pkgdesc="Meta package for minimal postmarketos base" pkgdesc="Meta package for minimal postmarketos base"
url="https://github.com/postmarketOS" url="https://github.com/postmarketOS"
arch="noarch" arch="noarch"

View file

@ -6,7 +6,7 @@
for service in devfs dmesg; do for service in devfs dmesg; do
rc-update -q add $service sysinit rc-update -q add $service sysinit
done 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 rc-update -q add $service boot
done done
for service in haveged sshd udev; do for service in haveged sshd udev; do
@ -48,3 +48,6 @@ if ! apk audit /etc | grep -q etc/motd; then
echo '' echo ''
} >/etc/motd } >/etc/motd
fi 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