summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats')
-rw-r--r--core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats b/core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats
new file mode 100644
index 00000000..03ab852e
--- /dev/null
+++ b/core/modules/hardware-stats/data/etc/X11/Xreset.d/update-usage-stats
@@ -0,0 +1,4 @@
+#!/bin/ash - sourced
+
+[ "$DISPLAY" = ":0" ] && /opt/openslx/scripts/cron-system_usage_update &
+