summaryrefslogtreecommitdiff
path: root/intcp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2023-02-06 22:37:59 +0100
committerJulian T <julian@jtle.dk>2023-02-06 22:37:59 +0100
commit35cab3cb5a1ce92cec602226cd0c9deb8925de37 (patch)
treeba01563e0231066014b4ac2b254f5e64377a8d7a /intcp
parentabd0c868c2f11b0e3b6e4c1a4e884b2800932f6d (diff)
Create auto run stuff
Diffstat (limited to 'intcp')
-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
3 files changed, 9 insertions, 0 deletions
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