removed remaining references to me and my server
of "sysadmin" and "brendo(.org)"
This commit is contained in:
parent
d4490576aa
commit
be5e37fcb3
4
wplist
4
wplist
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# collates a list of wallpapers available on a samba share.
|
# collates a list of wallpapers available on a samba share.
|
||||||
|
SHARE_USER="brendo"
|
||||||
ls /home/brendo/Wallpapers > ../wp.list
|
ls /home/$SHARE_USER/Wallpapers > ../wp.list
|
||||||
echo "list collated, cleaning up and closing"
|
echo "list collated, cleaning up and closing"
|
||||||
|
|
6
wpset
6
wpset
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# WPDL
|
# WPDL
|
||||||
VERSION="0.1-rev80"
|
VERSION="0.1-rev81"
|
||||||
CONF="/home/$USER/.config/wpdl.conf"
|
CONF="/home/$USER/.config/wpdl.conf"
|
||||||
source $CONF
|
source $CONF
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ function wplist() {
|
||||||
|
|
||||||
function listupdate() {
|
function listupdate() {
|
||||||
echo "updating wallpaper list..."
|
echo "updating wallpaper list..."
|
||||||
ssh $SSH_USER@$SSH_HOST "bash /home/sysadmin/bin/wplist" &> /dev/null
|
ssh $SSH_USER@$SSH_HOST "bash /home/$SSH_USER/bin/wplist" &> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
listupdate
|
listupdate
|
||||||
|
@ -65,7 +65,7 @@ else
|
||||||
WPLIST=$(wplist | grep $1)
|
WPLIST=$(wplist | grep $1)
|
||||||
if [ "$WPLIST" = "$1" ]; then
|
if [ "$WPLIST" = "$1" ]; then
|
||||||
# download the actual script
|
# download the actual script
|
||||||
curl -s sftp://brendo.org/home/sysadmin/bin/wpdl -u sysadmin: -o wpdl
|
curl -s sftp://$SSH_HOST/home/$SSH_USER/bin/wpdl -u $SSH_USER: -o wpdl
|
||||||
chmod +x wpdl
|
chmod +x wpdl
|
||||||
clear
|
clear
|
||||||
$PWD/wpdl $*
|
$PWD/wpdl $*
|
||||||
|
|
Loading…
Reference in New Issue