Skip to content

Commit

Permalink
Adapt some network manager restart commands to new OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Dec 4, 2023
1 parent 8718c68 commit 5388ebe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14987,28 +14987,28 @@ function special_distro_features() {
ywindow_edge_pixels=-14
;;
"Backbox")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6
yratio=14.2
ywindow_edge_lines=1
ywindow_edge_pixels=15
;;
"Ubuntu"|"Mint")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6.2
yratio=13.9
ywindow_edge_lines=2
ywindow_edge_pixels=18
;;
"Kali"|"Kali arm")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6.2
yratio=13.9
ywindow_edge_lines=2
ywindow_edge_pixels=18
;;
"Debian")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6.2
yratio=13.9
ywindow_edge_lines=2
Expand All @@ -15029,7 +15029,7 @@ function special_distro_features() {
ywindow_edge_pixels=10
;;
"Parrot"|"Parrot arm")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6.2
yratio=13.9
ywindow_edge_lines=2
Expand Down Expand Up @@ -15085,7 +15085,7 @@ function special_distro_features() {
ywindow_edge_pixels=1
;;
"Raspbian|Raspberry Pi OS")
networkmanager_cmd="service network-manager restart"
networkmanager_cmd="systemctl restart NetworkManager.service"
xratio=6.2
yratio=14
ywindow_edge_lines=1
Expand Down

0 comments on commit 5388ebe

Please sign in to comment.