aboutsummaryrefslogtreecommitdiff
path: root/default_script.sample
blob: e6028596a0555e1758a65c80a2176cc7e624cfe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
#