This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export DEBIAN_FRONTEND=noninteractive | |
export TERM=xterm-256color | |
USE_COLORS=true | |
cp -r * / | |
apt-get update -qq && apt-get -y install wget &> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat > /tmp/transform.sh << 'TRANSFORMSH' | |
#!/bin/bash | |
#yourname | |
if [[ -n "$(cat /usr/local/bin/cusw | grep nuorial)" ]] ; then | |
printf "\033[1;37m" ; read -p "Enter the name ( > 5 letters) that you want to see on the desktop screensaver: " deskname | |
while [ "$(echo $deskname | wc -m)" -gt 6 ] ; do read -p "Enter the name ( > 5 letters) that you want to see on the desktop screensaver: " deskname ; done | |
sed -i "s+nuorial+$deskname+g" /usr/local/bin/cusw |