Update security.sh

This commit is contained in:
verita84 2023-12-31 18:21:17 -07:00
parent 0cf406f392
commit 4308523771

View File

@ -21,6 +21,7 @@ start-Everything() {
systemctl start gdm
}
start() {
while :; do
USB_CHECK=$(blkid | grep $USB_KEY_LABEL)
if [[ $USB_CHECK = *$USB_KEY_LABEL* ]]; then
@ -63,3 +64,18 @@ while :; do
fi
sleep 15
done
}
stop() {
stop-Everything
}
if [ "$1" = "start" ]; then
start
elif [ "$1" = "stop" ]; then
stop
else
echo
echo "Invalid Choice"
echo
fi