From 22c27cdd4f27d9e7ed036a546eb857a334543b11 Mon Sep 17 00:00:00 2001 From: Tilman Date: Wed, 2 Sep 2020 08:52:22 +0000 Subject: [PATCH 1/5] Add new directory --- cubon/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 cubon/.gitkeep diff --git a/cubon/.gitkeep b/cubon/.gitkeep new file mode 100644 index 0000000..e69de29 From 5b3f599619a69be39d922537505b07a4b845deaa Mon Sep 17 00:00:00 2001 From: Tilman Date: Wed, 2 Sep 2020 08:52:42 +0000 Subject: [PATCH 2/5] Add new file --- cubon/etc/rc.local | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cubon/etc/rc.local diff --git a/cubon/etc/rc.local b/cubon/etc/rc.local new file mode 100644 index 0000000..298a55b --- /dev/null +++ b/cubon/etc/rc.local @@ -0,0 +1,7 @@ +#!/bin/bash +su tilman -c 'python3 /media/hd/admin/doorbell/doorbell.py >> /media/hd/admin/doorbell/doorbell.log 2>&1 &' +sh /usr/local/bin/start-h2.sh +sh /usr/local/bin/start-drivetunnel.sh +sh /usr/local/bin/start-transactions.sh +sudo -u nobody docker start home-assistant +exit 0 From 953ebfc0aca2d34add919f5739a0eca7bd6467a2 Mon Sep 17 00:00:00 2001 From: Tilman Date: Wed, 2 Sep 2020 08:54:02 +0000 Subject: [PATCH 3/5] Add new file --- cubon/usr/local/bin/mount-hidrive.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 cubon/usr/local/bin/mount-hidrive.sh diff --git a/cubon/usr/local/bin/mount-hidrive.sh b/cubon/usr/local/bin/mount-hidrive.sh new file mode 100644 index 0000000..e69de29 From 0145117b088e7877b9af6cf741f1590df97ece76 Mon Sep 17 00:00:00 2001 From: Tilman Date: Wed, 2 Sep 2020 08:54:21 +0000 Subject: [PATCH 4/5] Update mount-hidrive.sh --- cubon/usr/local/bin/mount-hidrive.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cubon/usr/local/bin/mount-hidrive.sh b/cubon/usr/local/bin/mount-hidrive.sh index e69de29..1621ac7 100644 --- a/cubon/usr/local/bin/mount-hidrive.sh +++ b/cubon/usr/local/bin/mount-hidrive.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# mit Passwort-Eingabe +#sshfs -o allow_other -o workaround=rename tilman@sftp.hidrive.strato.com:public /media/hidrive +# mit SSH-Key +sshfs -o IdentityFile=/home/tilman/.ssh/id_rsa -o allow_other tilman@sftp.hidrive.strato.com:public /media/hidrive From 81302f9c38a4d26b9e0acd80ea6aceff70ef21e6 Mon Sep 17 00:00:00 2001 From: Tilman Date: Wed, 2 Sep 2020 08:55:15 +0000 Subject: [PATCH 5/5] Add new file --- cubon/usr/local/bin/unmount-hidrive.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 cubon/usr/local/bin/unmount-hidrive.sh diff --git a/cubon/usr/local/bin/unmount-hidrive.sh b/cubon/usr/local/bin/unmount-hidrive.sh new file mode 100644 index 0000000..2a274e6 --- /dev/null +++ b/cubon/usr/local/bin/unmount-hidrive.sh @@ -0,0 +1,2 @@ +#!/bin/sh +fusermount -u /media/hidrive