Update security.sh
This commit is contained in:
parent
0cf406f392
commit
4308523771
16
security.sh
16
security.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user