Merge pull request #258 from craftyguy/enable_syslog
Enable syslog on boot
This commit is contained in:
commit
750a1c8e29
2 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue