From 09da4bc2a771e172f8a044d49c136c66361dd14c Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 3 Nov 2017 11:13:07 -0400 Subject: [PATCH] dropping a couple ancient unused scripts --- scripts/security/fix_game_perms.sh | 10 -------- scripts/tty/lockup.sh | 38 ------------------------------ 2 files changed, 48 deletions(-) delete mode 100644 scripts/security/fix_game_perms.sh delete mode 100644 scripts/tty/lockup.sh diff --git a/scripts/security/fix_game_perms.sh b/scripts/security/fix_game_perms.sh deleted file mode 100644 index 9d214808..00000000 --- a/scripts/security/fix_game_perms.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# fixes the permissions of files in the local games directory so that -# everyone can run or read them if the owner could. - -sudo find /home/games -type f -perm /100 -exec chmod a+x {} ';' -sudo find /home/games -type f -perm /400 -exec chmod a+r {} ';' - -sudo find /home/games -type d -exec chmod a+rx {} ';' - diff --git a/scripts/tty/lockup.sh b/scripts/tty/lockup.sh deleted file mode 100644 index efd11440..00000000 --- a/scripts/tty/lockup.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# Thanks to Kevin Wika for this shell. - -source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" - -trap '' HUP -trap '' INT -trap '' QUIT -trap '' STOP -trap '' EXIT -trap '' TSTP - -PASSWORDFILE=$TMP/lockup_password_file -LOGFILE=$TMP/lockup.log - -read password <$PASSWORDFILE - -echo "$(date_stringer): terminal locked" >>$LOGFILE - -attempt="" - -stty -echo -while [[ $attempt != $password ]] - do - if [ ! -z "$attempt" ]; then - echo "$(date_stringer): $attempt" >>$LOGFILE - fi - clear - echo -n "password: " - read attempt - done -stty echo - -echo -e "$(date_stringer): successful login\n" >>$LOGFILE - -clear -echo "Your Password has been Accepted." -- 2.34.1