-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Running Sensly installer replaces boot parameters in Raspi's cmdline.txt file while installer is runningUart_enable.sh.
This is bad, because cmdline may have custom modifications and removing them may make Raspi inaccessible.
A suggestion, instead:
- parse existing cmdline parameters
- remove only known parameters which are known to cause issues
- add your own parameters
- leave other parameters untouched
echo "dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles" >> /boot/cmdline.txt
sed -i -e '1s/^/#/' /boot/cmdline.txt
Metadata
Metadata
Assignees
Labels
No labels