kopia lustrzana https://github.com/cyoung/stratux
Merge pull request #464 from AvSquirrel/boot-fixes
Update setup scripts to disable console on ttyAMA0pull/470/merge
commit
1a7405ee32
|
@ -117,7 +117,7 @@ make
|
|||
make install
|
||||
|
||||
#disable serial console
|
||||
sed -i /etc/inittab -e "s|^.*:.*:respawn:.*ttyAMA0|#&|"
|
||||
sed -i /boot/cmdline.txt -e "s/console=ttyAMA0,[0-9]\+ //"
|
||||
|
||||
#Set the keyboard layout to US.
|
||||
sed -i /etc/default/keyboard -e "/^XKBLAYOUT/s/\".*\"/\"us\"/"
|
||||
|
|
|
@ -29,6 +29,9 @@ cp -f hostapd_manager.sh /usr/sbin/
|
|||
#boot config
|
||||
cp -f config.txt /boot/config.txt
|
||||
|
||||
#disable serial console
|
||||
sed -i /boot/cmdline.txt -e "s/console=ttyAMA0,[0-9]\+ //"
|
||||
|
||||
#modprobe.d blacklist
|
||||
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue