„bHELPER.sh“ ändern
This commit is contained in:
parent
156f8e8031
commit
47550a1658
87
bHELPER.sh
87
bHELPER.sh
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
SkriptVersion="2022-10-22 15:15"
|
||||
SkriptVersion="2022-10-23 12:30"
|
||||
|
||||
gl_SkriptName=$(basename "${0}")
|
||||
gl__SkriptPfadName=$(cd "$(dirname "${0}")"; pwd -P)/$(basename "${0}")
|
||||
|
@ -271,8 +271,8 @@ fi
|
|||
h|H)
|
||||
bannertitel="Hauptmenü => Hardware"
|
||||
banner
|
||||
echo " ${gl__format_red}| 0 |${gl__format_off} Hardwareinformationen eures Rechners (dmidecode)"
|
||||
echo " ${gl__format_red}| 1 |${gl__format_off} Hardwareinformationen eures Rechners (inxi)"
|
||||
echo " ${gl__format_red}| 0 |${gl__format_off} Hardwareinformationen des Rechners (dmidecode)"
|
||||
echo " ${gl__format_red}| 1 |${gl__format_off} Hardwareinformationen des Rechners (inxi)"
|
||||
echo " ${gl__format_red}| B |${gl__format_off} Bluetooth"
|
||||
echo " ${gl__format_red}| A |${gl__format_off} Laptopakkus (upower, inxi)"
|
||||
echo " ${gl__format_red}| XK |${gl__format_off} xrandr - Bildschirmkonfiguration anzeigen lassen"
|
||||
|
@ -300,9 +300,15 @@ read hardware
|
|||
;;
|
||||
|
||||
1)
|
||||
bannertitel="Hauptmenü => Hardware => Hardwareinformationen eures Rechners (inxi)"
|
||||
bannertitel="Hauptmenü => Hardware => Hardwareinformationen des Rechners (inxi)"
|
||||
banner
|
||||
inxi -Fxz
|
||||
|
||||
task_title "Hardwareinformationen des Rechners (inxi)"
|
||||
task_title_syntax "inxi -Fxz"
|
||||
terminal_output_begin
|
||||
inxi -Fxz
|
||||
terminal_output_end
|
||||
|
||||
ende
|
||||
;;
|
||||
|
||||
|
@ -312,40 +318,43 @@ read hardware
|
|||
|
||||
bannertitel="Hauptmenü => Hardware => Bluetooth"
|
||||
banner
|
||||
task_title_syntax "systemctl list-unit-files | grep blue"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
systemctl list-unit-files | grep blue
|
||||
echo "${gl__ausgabe_ende}"
|
||||
echo ""
|
||||
echo ""
|
||||
task_title_syntax "systemctl status bluetooth.service"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
systemctl status bluetooth.service
|
||||
echo "${gl__ausgabe_ende}"
|
||||
echo ""
|
||||
echo ""
|
||||
task_title_syntax "journalctl -o short-iso --no-pager -u bluetooth.service"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
journalctl -o short-iso --no-pager -u bluetooth.service
|
||||
echo "${gl__ausgabe_ende}"
|
||||
echo ""
|
||||
echo ""
|
||||
task_title_syntax "bluetooth --help"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
bluetooth --help
|
||||
echo "${gl__ausgabe_ende}"
|
||||
echo ""
|
||||
echo ""
|
||||
task_title_syntax "rfkill list bluetooth"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
${rfkill_bin} list bluetooth
|
||||
echo "${gl__ausgabe_ende}"
|
||||
echo ""
|
||||
echo ""
|
||||
task_title_syntax "inxi --bluetooth"
|
||||
echo "${gl__ausgabe_anfang}"
|
||||
inxi --bluetooth
|
||||
echo "${gl__ausgabe_ende}"
|
||||
|
||||
task_title "systemctl list-unit-files | grep blue"
|
||||
task_title_syntax "systemctl list-unit-files | grep blue"
|
||||
terminal_output_begin
|
||||
systemctl list-unit-files | grep blue
|
||||
terminal_output_end
|
||||
|
||||
task_title "systemctl status bluetooth.service"
|
||||
task_title_syntax "systemctl status bluetooth.service"
|
||||
terminal_output_begin
|
||||
systemctl status bluetooth.service
|
||||
terminal_output_end
|
||||
|
||||
task_title "journalctl -o short-iso --no-pager -u bluetooth.service"
|
||||
task_title_syntax "journalctl -o short-iso --no-pager -u bluetooth.service"
|
||||
terminal_output_begin
|
||||
journalctl -o short-iso --no-pager -u bluetooth.service
|
||||
terminal_output_end
|
||||
|
||||
task_title "bluetooth --help"
|
||||
task_title_syntax "bluetooth --help"
|
||||
terminal_output_begin
|
||||
bluetooth --help
|
||||
terminal_output_end
|
||||
|
||||
task_title "rfkill list bluetooth"
|
||||
task_title_syntax "rfkill list bluetooth"
|
||||
terminal_output_begin
|
||||
${rfkill_bin} list bluetooth
|
||||
terminal_output_end
|
||||
|
||||
task_title "inxi --bluetooth"
|
||||
task_title_syntax "inxi --bluetooth"
|
||||
terminal_output_begin
|
||||
inxi --bluetooth
|
||||
terminal_output_end
|
||||
|
||||
ende
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue