diff options
author | Julian T <julian@jtle.dk> | 2023-02-06 22:37:59 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2023-02-06 22:37:59 +0100 |
commit | 35cab3cb5a1ce92cec602226cd0c9deb8925de37 (patch) | |
tree | ba01563e0231066014b4ac2b254f5e64377a8d7a | |
parent | abd0c868c2f11b0e3b6e4c1a4e884b2800932f6d (diff) |
Create auto run stuff
-rw-r--r-- | config.yaml | 2 | ||||
-rw-r--r-- | intcp/resc/intcp/main.c (renamed from intcp/intcp/main.c) | 0 | ||||
-rw-r--r-- | intcp/resc/intcp/udevmon.yaml (renamed from intcp/intcp/udevmon.yaml) | 0 | ||||
-rwxr-xr-x | intcp/resc/run/00-intcp | 9 | ||||
-rwxr-xr-x | resc/resc/run.sh | 9 | ||||
-rwxr-xr-x | scripts/resc/run/00-setwall | 8 |
6 files changed, 27 insertions, 1 deletions
diff --git a/config.yaml b/config.yaml index 352d690..2215627 100644 --- a/config.yaml +++ b/config.yaml @@ -5,6 +5,6 @@ do_not_link: - .config/nvim - .vim - Scripts - - intcp - .config/mpd - resc + - resc/run diff --git a/intcp/intcp/main.c b/intcp/resc/intcp/main.c index 383ef5b..383ef5b 100644 --- a/intcp/intcp/main.c +++ b/intcp/resc/intcp/main.c diff --git a/intcp/intcp/udevmon.yaml b/intcp/resc/intcp/udevmon.yaml index 3733456..3733456 100644 --- a/intcp/intcp/udevmon.yaml +++ b/intcp/resc/intcp/udevmon.yaml diff --git a/intcp/resc/run/00-intcp b/intcp/resc/run/00-intcp new file mode 100755 index 0000000..eac7900 --- /dev/null +++ b/intcp/resc/run/00-intcp @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -e +set -x +echo Running intcp + +cd ~/resc/intcp + +gcc main.c -o intcp +sudo cp udevmon.yaml /etc/interception/udevmon.yaml diff --git a/resc/resc/run.sh b/resc/resc/run.sh new file mode 100755 index 0000000..5f1c1c4 --- /dev/null +++ b/resc/resc/run.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e +set -x + +for f in ~/resc/run/*; do + $f +done + diff --git a/scripts/resc/run/00-setwall b/scripts/resc/run/00-setwall new file mode 100755 index 0000000..c68367c --- /dev/null +++ b/scripts/resc/run/00-setwall @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -e +set -x +echo Running setwall install + +cd ~/resc/setwall + +cargo install --path . |