A collection of system hardening and generally-useful scripts for Linux systems. Targets Artix, works on any distro. Some inits require disabling the included boot parameter hardening, otherwise they won't boot (systemd)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
286 B

#!/bin/bash
if [[ "$1" == "block" ]]; then
rm /tmp/psec-unblock
rfkill block all
elif [[ "$1" == "unblock" ]]; then
touch /tmp/psec-unblock
chmod 000 /tmp/psec-unblock
if [[ "$#" != 1 ]]; then
rfkill unblock "$2"
fi
else
echo "Invalid command. Usage: $0 [block | unblock]"
fi