diff options
author | zachir <zachir@librem.one> | 2023-10-24 07:57:06 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-10-24 07:57:06 -0500 |
commit | e70b4be988bae1ef98326a21321d476fd6a8afd0 (patch) | |
tree | b63beb54cc51f34c7f2c08821a231176067afb7f /notify-fw | |
parent | afb4b7b9dba90eb0f00a06864450b7a38a399626 (diff) |
Use sudo instead of doas
Not because of technical superiority, but in Linux we can expect sudo is
installed, and doas will not be supported as well.
Diffstat (limited to 'notify-fw')
-rwxr-xr-x | notify-fw | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ #!/bin/sh -LIST="$(doas iptables -S)" -LIST6="$(doas ip6tables -S)" -LISTN="$(doas nft list ruleset)" +LIST="$(sudo iptables -S)" +LIST6="$(sudo ip6tables -S)" +LISTN="$(sudo nft list ruleset)" notify-send "IPTables rules" "IPTables Rules:\n$LIST" notify-send "IP6Tables rules" "IP6Tables Rules:\n$LIST6" notify-send "NFTables rules" "NFTables Rules:\n$LISTN" |