summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/files/rhctlsh
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/rhctl/files/rhctlsh')
-rwxr-xr-xopenwrt/rhctl/files/rhctlsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/openwrt/rhctl/files/rhctlsh b/openwrt/rhctl/files/rhctlsh
new file mode 100755
index 0000000..47d5873
--- /dev/null
+++ b/openwrt/rhctl/files/rhctlsh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+RUN_D=/var/run/rhctl
+SOCK=$RUN_D/switchctl.sock
+
+/usr/bin/socat UNIX-CONNECT:$SOCK STDIO