Initial commit

This commit is contained in:
ariane
2021-03-18 15:42:28 +00:00
committed by root
commit e53cb04f1a
973 changed files with 23055 additions and 0 deletions

18
profile.d/wifi-check.sh Normal file
View File

@@ -0,0 +1,18 @@
(
export TEXTDOMAIN=wifi-check
. gettext.sh
if [ ! -x /usr/sbin/rfkill ] || [ ! -c /dev/rfkill ]; then
exit 0
fi
if ! /usr/sbin/rfkill list wifi | grep -q "Soft blocked: yes" ; then
exit 0
fi
echo
/usr/bin/gettext -s "Wi-Fi is currently blocked by rfkill."
/usr/bin/gettext -s "Use raspi-config to set the country before use."
echo
)