From 86792231f750b3d3b0e5d1a316f0433f96771c5f Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Fri, 14 Feb 2014 14:36:41 +0100 Subject: [PATCH] first import --- bin/notify_boot.sh | 12 ++++++++++++ bin/svnc.sh | 4 ++++ install.sh | 5 +++++ 3 files changed, 21 insertions(+) create mode 100755 bin/notify_boot.sh create mode 100755 bin/svnc.sh create mode 100755 install.sh diff --git a/bin/notify_boot.sh b/bin/notify_boot.sh new file mode 100755 index 0000000..7234300 --- /dev/null +++ b/bin/notify_boot.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +_IP=$(hostname -I) || true +_TMP=/tmp/Text.notify_boot.tmp + +echo From: djocebot@gmail.com > $_TMP +echo To: jocelyn.fiat@gmail.com >> $_TMP +echo Subject: RPI-B ip=$_IP >> $_TMP +echo rpi ip=$_IP >> $_TMP +echo . >> $_TMP + +curl -s -n --ssl-reqd --mail-from djocebot@gmail.com --mail-rcpt jocelyn.fiat@gmail.com --url smtps://smtp.gmail.com:465 -T $_TMP -u "djocebot@gmail.com:DjocBOT31" diff --git a/bin/svnc.sh b/bin/svnc.sh new file mode 100755 index 0000000..c70f5e4 --- /dev/null +++ b/bin/svnc.sh @@ -0,0 +1,4 @@ +#!/bin/sh +vncserver -kill :1 +#vncserver :1 -geometry 1920x1080 -depth 24 -dpi 96 +vncserver :1 -geometry 1280x1024 -depth 24 -dpi 96 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..3dc072a --- /dev/null +++ b/install.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +ln -s `pwd`/bin/* ~/bin/. + +