From a4270020addc324fb60d2b1b446b41bc31e3baf8 Mon Sep 17 00:00:00 2001 From: Lucas Castro Date: Wed, 10 Jan 2024 22:33:44 -0300 Subject: Import Upstream version 1.0.4 --- default_script.sample | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 default_script.sample (limited to 'default_script.sample') diff --git a/default_script.sample b/default_script.sample new file mode 100644 index 0000000..e602859 --- /dev/null +++ b/default_script.sample @@ -0,0 +1,14 @@ +#!/bin/sh + +# You can call a set of scripts like so on an event + +cd /etc/lsm/script.d +for script in $(ls); do + if [ ! -x $script ]; then + continue + fi + ./$script "$@" +done + +exit 0 +# -- cgit v1.2.3