systemd: disable getty on ttyS0 for sysmobts-2050
Fixes: SYS#235
This commit is contained in:
parent
edee5f726a
commit
e12e68dba6
|
@ -42,6 +42,20 @@ pkg_postinst_${PN}_append () {
|
|||
systemctl ${OPTS} mask systemd-journal-flush.service
|
||||
}
|
||||
|
||||
pkg_postinst_${PN}_append_sysmobts-2050 () {
|
||||
cd $D${sysconfdir}/init.d
|
||||
|
||||
echo "Disabling ttyS0 for sysmobts-2050:"
|
||||
|
||||
OPTS=""
|
||||
|
||||
if [ -n "$D" ]; then
|
||||
OPTS="--root=$D"
|
||||
fi
|
||||
|
||||
systemctl ${OPTS} mask serial-getty@ttyS0.service
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/
|
||||
|
||||
|
|
Loading…
Reference in New Issue