„bHELPER.sh“ ändern

This commit is contained in:
dingens 2022-10-22 13:18:06 +00:00
parent 1db88ea89c
commit e8c6c0e7d6
1 changed files with 35 additions and 35 deletions

View File

@ -310,37 +310,37 @@ read hardware
bannertitel="Hauptmenü => Hardware => Bluetooth"
banner
task_title_syntax " systemctl list-unit-files | grep blue"
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"
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"
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"
task_title_syntax "bluetooth --help"
echo "${gl__ausgabe_anfang}"
bluetooth --help
echo "${gl__ausgabe_ende}"
echo ""
echo ""
task_title_syntax " rfkill list bluetooth"
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"
task_title_syntax "inxi --bluetooth"
echo "${gl__ausgabe_anfang}"
inxi --bluetooth
echo "${gl__ausgabe_ende}"
@ -350,13 +350,13 @@ read hardware
a|A)
bannertitel="Hauptmenü => Hardware => Akkuinformationen eures Laptops (upower, inxi)"
banner
task_title_syntax " upower -i /org/freedesktop/UPower/devices/battery_BAT0"
task_title_syntax "upower -i /org/freedesktop/UPower/devices/battery_BAT0"
echo "${gl__ausgabe_anfang}"
upower -i /org/freedesktop/UPower/devices/battery_BAT0
echo "${gl__ausgabe_ende}"
echo ""
echo ""
task_title_syntax " inxi --battery"
task_title_syntax "inxi --battery"
echo "${gl__ausgabe_anfang}"
inxi --battery
echo "${gl__ausgabe_ende}"
@ -368,19 +368,19 @@ read hardware
banner
task_title "Alle aktiven Monitore"
task_title_syntax " xrandr --listactivemonitors"
task_title_syntax "xrandr --listactivemonitors"
terminal_output_begin
xrandr --listactivemonitors
terminal_output_end
task_title "Alle vorhandene Monitoranschlüsse"
task_title_syntax " xrandr --listproviders"
task_title_syntax "xrandr --listproviders"
terminal_output_begin
xrandr --listproviders
terminal_output_end
task_title "Komplette Ausgabe"
task_title_syntax " xrandr"
task_title_syntax "xrandr"
terminal_output_begin
xrandr
terminal_output_end
@ -428,21 +428,21 @@ read software
if test -f "/usr/bin/zypper"; then
task_title "Daten der Reporitories aktualisieren"
task_title_syntax " sudo zypper refresh"
task_title_syntax "sudo zypper refresh"
terminal_output_begin
sudo zypper refresh
terminal_output_end
task_title "Anstehende Aktualisierungen anzeigen"
task_title_syntax " zypper list-updates"
task_title_syntax "zypper list-updates"
terminal_output_begin
zypper list-updates
terminal_output_end
task_title "Aktualisierungen installieren"
task_title_syntax " sudo zypper dup"
task_title_syntax "sudo zypper dup"
terminal_output_begin
sudo zypper dup
@ -453,7 +453,7 @@ fi
if [[ -f "/usr/bin/apt" || -f "/usr/local/bin/apt" ]]; then
task_title "Daten der Reporitories aktualisieren"
task_title_syntax " sudo apt update"
task_title_syntax "sudo apt update"
echo "${gl__ausgabe_anfang}"
sudo apt update
echo "${gl__ausgabe_ende}"
@ -461,7 +461,7 @@ if [[ -f "/usr/bin/apt" || -f "/usr/local/bin/apt" ]]; then
echo ""
task_title "Anstehende Aktualisierungen anzeigen"
task_title_syntax " apt list --upgradable -a"
task_title_syntax "apt list --upgradable -a"
echo "${gl__ausgabe_anfang}"
apt list --upgradable -a
echo "${gl__ausgabe_ende}"
@ -469,7 +469,7 @@ if [[ -f "/usr/bin/apt" || -f "/usr/local/bin/apt" ]]; then
echo ""
task_title "Aktualisierungen installieren"
task_title_syntax " sudo apt upgrade"
task_title_syntax "sudo apt upgrade"
echo "${gl__ausgabe_anfang}"
sudo apt upgrade
echo "${gl__ausgabe_ende}"
@ -480,7 +480,7 @@ fi
if test -f "/usr/bin/pacman"; then
task_title "Daten der Reporitories aktualisieren"
task_title_syntax " sudo pacman -Sy"
task_title_syntax "sudo pacman -Sy"
echo "${gl__ausgabe_anfang}"
sudo pacman -Sy
echo "${gl__ausgabe_ende}"
@ -488,7 +488,7 @@ if test -f "/usr/bin/pacman"; then
echo ""
task_title "Anstehende Aktualisierungen anzeigen"
task_title_syntax " sudo pacman -Qu"
task_title_syntax "sudo pacman -Qu"
echo "${gl__ausgabe_anfang}"
sudo pacman -Qu
echo "${gl__ausgabe_ende}"
@ -496,7 +496,7 @@ if test -f "/usr/bin/pacman"; then
echo ""
task_title "Aktualisierungen installieren"
task_title_syntax " sudo pacman -Su"
task_title_syntax "sudo pacman -Su"
echo "${gl__ausgabe_anfang}"
sudo pacman -Su
echo "${gl__ausgabe_ende}"
@ -529,7 +529,7 @@ echo "${gl__bittewaehlen}"
banner
task_title "Installierte Pakete aktualisieren"
task_title_syntax " sudo flatpak update"
task_title_syntax "sudo flatpak update"
terminal_output_begin
sudo /usr/bin/flatpak update
@ -542,7 +542,7 @@ terminal_output_end
bannertitel="Hauptmenü => Software => Flatpak => Installierte Pakete auflisten"
banner
task_title "Detaillierte Liste aller installierten Pakete"
task_title_syntax " flatpak list --show-details"
task_title_syntax "flatpak list --show-details"
echo "${gl__ausgabe_anfang}"
/usr/bin/flatpak list --show-details
echo "${gl__ausgabe_ende}"
@ -550,7 +550,7 @@ echo ""
echo ""
task_title "Liste aller installierten Pakete"
task_title_syntax " flatpak list"
task_title_syntax "flatpak list"
echo "${gl__ausgabe_anfang}"
/usr/bin/flatpak list
echo "${gl__ausgabe_ende}"
@ -558,7 +558,7 @@ echo ""
echo ""
task_title "Detaillierte Liste aller installierten Programme"
task_title_syntax " flatpak list --app --show-details"
task_title_syntax "flatpak list --app --show-details"
echo "${gl__ausgabe_anfang}"
/usr/bin/flatpak list --app --show-details
echo "${gl__ausgabe_ende}"
@ -566,7 +566,7 @@ echo ""
echo ""
task_title "Liste aller installierten Programme"
task_title_syntax " flatpak list --app"
task_title_syntax "flatpak list --app"
echo "${gl__ausgabe_anfang}"
/usr/bin/flatpak list --app
echo "${gl__ausgabe_ende}"
@ -579,7 +579,7 @@ echo "${gl__ausgabe_ende}"
banner
task_title "Ungenutzte Pakete deinstallieren"
task_title_syntax " sudo flatpak uninstall --unused"
task_title_syntax "sudo flatpak uninstall --unused"
terminal_output_begin
sudo flatpak uninstall --unused
terminal_output_end
@ -674,14 +674,14 @@ terminal_output_end
if [ -f /usr/bin/zypper ] ; then
task_title "Daten der Reporitories aktualisieren"
task_title_syntax " sudo zypper refresh"
task_title_syntax "sudo zypper refresh"
terminal_output_begin
sudo zypper refresh
terminal_output_end
task_title "Alle noch nicht gepatchten CVEs auf diesen Betriebssystem auflisten"
task_title_syntax " zypper list-patches --cve"
task_title_syntax "zypper list-patches --cve"
terminal_output_begin
zypper list-patches --cve
@ -708,14 +708,14 @@ fi
bannertitel="Hauptmenü => Software => Programme => Mozilla Thunderbird"
banner
task_title_syntax " thunderbird --version"
task_title_syntax "thunderbird --version"
echo "${gl__ausgabe_anfang}"
[[ -f /usr/bin/thunderbird ]] && thunderbird --version
echo "${gl__ausgabe_ende}"
if [ -f "/usr/bin/zypper" ]; then
echo ""
task_title_syntax " zypper info MozillaThunderbird"
task_title_syntax "zypper info MozillaThunderbird"
echo "${gl__ausgabe_anfang}"
[[ -f /usr/bin/zypper ]] && zypper info MozillaThunderbird
echo "${gl__ausgabe_ende}"
@ -723,7 +723,7 @@ fi
if [ -f "/usr/bin/pacman" ]; then
echo ""
task_title_syntax " pacman -Qii thunderbird"
task_title_syntax "pacman -Qii thunderbird"
echo "${gl__ausgabe_anfang}"
[[ -f /usr/bin/pacman ]] && pacman -Qii thunderbird
echo "${gl__ausgabe_ende}"
@ -762,12 +762,12 @@ read netzwerk
a|A)
bannertitel="Hauptmenü => Netzwerk => WLAN Informationen"
banner
task_title_syntax " ip address show"
task_title_syntax "ip address show"
echo "${gl__ausgabe_anfang}"
ip address show
echo "${gl__ausgabe_ende}"
echo ""
task_title_syntax " ip route list"
task_title_syntax "ip route list"
echo "${gl__ausgabe_anfang}"
ip route list
echo "${gl__ausgabe_ende}"
@ -781,12 +781,12 @@ echo "${gl__ausgabe_ende}"
bannertitel="Hauptmenü => Netzwerk => WLAN Informationen"
banner
task_title_syntax " rfkill list wifi"
task_title_syntax "rfkill list wifi"
echo "${gl__ausgabe_anfang}"
${rfkill_bin} list wifi
echo "${gl__ausgabe_ende}"
echo ""
task_title_syntax " inxi --network"
task_title_syntax "inxi --network"
echo "${gl__ausgabe_anfang}"
inxi --network
echo "${gl__ausgabe_ende}"