From: Chris Koeritz Date: Fri, 3 Nov 2017 15:13:07 +0000 (-0400) Subject: dropping a couple ancient unused scripts X-Git-Tag: 2.140.90~101 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=09da4bc2a771e172f8a044d49c136c66361dd14c;p=feisty_meow.git dropping a couple ancient unused scripts --- 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."