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