1
1
Fork 0

added restart_vncserver.sh and changed sheebang to /bin/bash instead of /bin/zsh

This commit is contained in:
David 2012-06-09 17:53:16 +02:00
parent 0e70baefec
commit 8d87a12881
2 changed files with 12 additions and 1 deletions

11
restart_vncserver.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
if [ -z $1 ]; then
vncserver -kill :1
vncserver -geometry 1280x720 -alwaysshared -dpi 96 -localhost :1
echo "vncserver at :1 was restarted"
else
vncserver -kill $1
vncserver -geometry 1280x720 -alwaysshared -dpi 96 -localhost $1
echo "vncserver at $1 was restarted"
fi

View File

@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/bash
hostname="zion.aec.at"