Add network sync arm/disarm
[ltt-control.git] / lttctl / ltt-armnetsync.sh
diff --git a/lttctl/ltt-armnetsync.sh b/lttctl/ltt-armnetsync.sh
new file mode 100755 (executable)
index 0000000..a07b751
--- /dev/null
@@ -0,0 +1,9 @@
+DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
+MARKERSROOT=${DEBUGFSROOT}/ltt/markers
+
+echo Connecting network synchronization markers
+
+for m in ${MARKERSROOT}/net/*_extended; do
+       echo Connecting ${m}
+       echo 1 > ${m}/enable
+done
This page took 0.02347 seconds and 4 git commands to generate.