summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-14 10:39:01 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-14 10:39:01 +0200
commit9042d78d0eee1cbf72f74c3c37328208e03791c7 (patch)
treee8e63f955ad678143a9c1ad3593a6c528f1517d0
parent5c2e6a7f6a16857d37c7c71d99c8ba60ce6d83ad (diff)
downloadbin-9042d78d0eee1cbf72f74c3c37328208e03791c7.zip
bin-9042d78d0eee1cbf72f74c3c37328208e03791c7.tar.gz
add rdesktop
-rwxr-xr-xrdesktop11
1 files changed, 11 insertions, 0 deletions
diff --git a/rdesktop b/rdesktop
new file mode 100755
index 0000000..939496b
--- /dev/null
+++ b/rdesktop
@@ -0,0 +1,11 @@
+#! /bin/sh
+[ $# -lt 1 ] && echo "missing hostname" && exit 1
+if [ $# -eq 2 ]; then
+ host=$2
+ user=$1
+else
+ host=$1
+ user="Administrator"
+fi
+echo rdesktop -0 -g 1280x1024 -u $user $host
+