kopia lustrzana https://github.com/Links2004/x6100-armbian
x6100 APP stop RF on service stop
rodzic
5662ba0371
commit
833f0ee9a3
|
@ -1,3 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
function cleanup()
|
||||||
|
{
|
||||||
|
echo 0 > /sys/class/gpio/gpio138/value
|
||||||
|
}
|
||||||
|
|
||||||
|
trap cleanup EXIT
|
||||||
|
trap cleanup SIGINT
|
||||||
|
|
||||||
echo 1 > /sys/class/gpio/gpio138/value
|
echo 1 > /sys/class/gpio/gpio138/value
|
||||||
chroot /mnt/x6100 /bin/bash -c 'source /etc/profile && /usr/app_qt/x6100_ui_v100'
|
chroot /mnt/x6100 /bin/bash -c 'source /etc/profile && nice --5 /usr/app_qt/x6100_ui_v100'
|
||||||
|
|
Ładowanie…
Reference in New Issue