mirror of
https://github.com/goodtft/LCD-show.git
synced 2024-12-04 08:24:13 +01:00
11 lines
442 B
Bash
11 lines
442 B
Bash
# Kill user space driver program first if it happens to be running, because otherwise shutting down the kernel
|
|
# module would crash the system if the userland program was still accessing it.
|
|
echo Killing existing instances of user space driver program fbcp-ili9341
|
|
sudo pkill fbcp-ili9341
|
|
sudo pkill fbcp-ili9341-stable
|
|
|
|
# Now safe to tear down the module
|
|
echo Stopping kernel module bcm2835_spi_display.ko
|
|
sudo rmmod bcm2835_spi_display.ko
|
|
|