recovery files

This commit is contained in:
Qubot 2023-10-18 10:16:34 +08:00
parent 7ee84a65a9
commit facb5ee425
55 changed files with 4 additions and 52 deletions

View File

@ -1,6 +1,6 @@
[product]
version = "100"
machine = "Xunlong Orange Pi Zero"
machine = "Banana Pi BPI-M4 Berry"
[platform]
debug_mode = 1

View File

@ -1,2 +0,0 @@
sed -i '/xfdesktop/a <property name="Num_Lock" type="string" value="/usr/bin/numlock.sh"/>' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
sed -i '/xfdesktop/a <property name="Caps_Lock" type="string" value="/usr/bin/capslock.sh"/>' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

View File

@ -1,11 +0,0 @@
#!/bin/bash
sleep 0.35
if [[ $(xset q | grep "Caps Lock" | cut -d " " -f10) == off ]];
then
#notify-send -i keyboard "Caps Lock" "Off";
echo 0 > /sys/class/leds/caps_led/brightness
else
#notify-send -i keyboard "Caps Lock" "On";
echo 1 > /sys/class/leds/caps_led/brightness
fi

View File

@ -1,11 +0,0 @@
#!/bin/bash
sleep 0.35
if [[ $(xset q | grep "Num Lock" | cut -d ":" -f5) == *off* ]];
then
#notify-send -i keyboard "Num Lock" "Off";
echo 0 > /sys/class/leds/num_led/brightness
else
#notify-send -i keyboard "Num Lock" "On";
echo 1 > /sys/class/leds/num_led/brightness
fi

View File

@ -1,2 +0,0 @@
sed -i '/xfdesktop/a <property name="Num_Lock" type="string" value="/usr/bin/numlock.sh"/>' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
sed -i '/xfdesktop/a <property name="Caps_Lock" type="string" value="/usr/bin/capslock.sh"/>' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

View File

@ -1,11 +0,0 @@
#!/bin/bash
sleep 0.35
if [[ $(xset q | grep "Caps Lock" | cut -d " " -f10) == off ]];
then
#notify-send -i keyboard "Caps Lock" "Off";
echo 0 > /sys/class/leds/caps_led/brightness
else
#notify-send -i keyboard "Caps Lock" "On";
echo 1 > /sys/class/leds/caps_led/brightness
fi

View File

@ -1,11 +0,0 @@
#!/bin/bash
sleep 0.35
if [[ $(xset q | grep "Num Lock" | cut -d ":" -f5) == *off* ]];
then
#notify-send -i keyboard "Num Lock" "Off";
echo 0 > /sys/class/leds/num_led/brightness
else
#notify-send -i keyboard "Num Lock" "On";
echo 1 > /sys/class/leds/num_led/brightness
fi

Binary file not shown.

View File

@ -1,3 +1,3 @@
Displaying message: ERROR in function source ./build.sh:305 -> scripts/main.sh:223 -> scripts/general.sh:0 err
Displaying message: Board configuration does not define valid kernel config err
Displaying message: ERROR in function source ./build.sh:305 -> scripts/main.sh:177 -> scripts/general.sh:0 err
Displaying message: No option selected err
Displaying message: Process terminated info

View File

@ -1 +1 @@
18_10_2023-09_45_19
18_10_2023-10_10_58