mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-12-22 17:29:33 +00:00
Fixed edit of /boot/cmdline.txt - thanks Ivan Drucker!
This commit is contained in:
parent
acfe7b42f0
commit
9e131e6f6e
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -25,7 +25,7 @@ case "$1" in
|
|||||||
#
|
#
|
||||||
if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then
|
if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then
|
||||||
mv /boot/cmdline.txt /boot/cmdline.bak
|
mv /boot/cmdline.txt /boot/cmdline.bak
|
||||||
echo "dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait" > /boot/cmdline.txt
|
sed -i 's/console=ttyAMA0,[0-9]* kgdboc=ttyAMA0,[0-9]* //g' /boot/cmdline.txt
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Disable getty on built-in serial port.
|
# Disable getty on built-in serial port.
|
||||||
|
Loading…
Reference in New Issue
Block a user