aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-12-06 19:42:01 +0100
committerKarel Kočí <cynerd@email.cz>2022-12-06 19:51:00 +0100
commit626d5f95485e5a7c1ec76a4696cc92ca03bb4018 (patch)
treef65588d0451ddacd74c7461858289e1252403c22
parentbaa327a39145e5614b36085676770e34e178a758 (diff)
downloadmyconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.tar.gz
myconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.tar.bz2
myconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.zip
Add wake script for both desktops
-rw-r--r--.ignore-ridcully2
-rwxr-xr-xinstall7
-rwxr-xr-xlocal/bin/wake-desktop2
-rwxr-xr-xlocal/bin/wake-error2
-rwxr-xr-xlocal/bin/wake-ridcully2
m---------private0
6 files changed, 9 insertions, 6 deletions
diff --git a/.ignore-ridcully b/.ignore-ridcully
deleted file mode 100644
index c550171..0000000
--- a/.ignore-ridcully
+++ /dev/null
@@ -1,2 +0,0 @@
-wake-desktop
-nix
diff --git a/install b/install
index 0af5716..f8bc34b 100755
--- a/install
+++ b/install
@@ -122,6 +122,9 @@ if ask "elektroline" "Install Elektroline scripts"; then
inst local/bin/elektroline00 ~/.local/bin/elektroline00
fi
-if ask "wake-desktop" "Install wake-desktop"; then
- inst local/bin/wake-desktop ~/.local/bin/wake-desktop
+if ask "wake" "Install wake-* scripts"; then
+ [ "$(hostname)" = "ridcully" ] || \
+ inst local/bin/wake-ridcully ~/.local/bin/wake-ridcully
+ [ "$(hostname)" = "errol" ] || \
+ inst local/bin/wake-errol ~/.local/bin/wake-errol
fi
diff --git a/local/bin/wake-desktop b/local/bin/wake-desktop
deleted file mode 100755
index 18c8762..0000000
--- a/local/bin/wake-desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec ssh turris.adamkovi etherwake -i br-lan 70:85:c2:4a:59:f2
diff --git a/local/bin/wake-error b/local/bin/wake-error
new file mode 100755
index 0000000..80f6965
--- /dev/null
+++ b/local/bin/wake-error
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ssh omnia.spt etherwake -i br-lan a8:a1:59:10:32:c4
diff --git a/local/bin/wake-ridcully b/local/bin/wake-ridcully
new file mode 100755
index 0000000..a29ad64
--- /dev/null
+++ b/local/bin/wake-ridcully
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ssh omnia.adm etherwake -i br-lan 70:85:c2:4a:59:f2
diff --git a/private b/private
-Subproject fcdc0a075885f2190a56f5251908035945ce48d
+Subproject f4e35eefe069d3348a7e4eff9d5d1553ba30e77