summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.yaml2
-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-xintcp/resc/run/00-intcp9
-rwxr-xr-xresc/resc/run.sh9
-rwxr-xr-xscripts/resc/run/00-setwall8
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 .