diff options
author | Karel Kočí <cynerd@email.cz> | 2022-12-06 19:42:01 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-12-06 19:51:00 +0100 |
commit | 626d5f95485e5a7c1ec76a4696cc92ca03bb4018 (patch) | |
tree | f65588d0451ddacd74c7461858289e1252403c22 | |
parent | baa327a39145e5614b36085676770e34e178a758 (diff) | |
download | myconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.tar.gz myconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.tar.bz2 myconfigs-626d5f95485e5a7c1ec76a4696cc92ca03bb4018.zip |
Add wake script for both desktops
-rw-r--r-- | .ignore-ridcully | 2 | ||||
-rwxr-xr-x | install | 7 | ||||
-rwxr-xr-x | local/bin/wake-desktop | 2 | ||||
-rwxr-xr-x | local/bin/wake-error | 2 | ||||
-rwxr-xr-x | local/bin/wake-ridcully | 2 | ||||
m--------- | private | 0 |
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 @@ -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 |