aboutsummaryrefslogtreecommitdiff
path: root/default_script.sample
blob: 70a8f7feec4804c349b4e81890c7dc1865340283 (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/foolsm/script.d
for script in $(ls); do
    if [ ! -x $script ]; then
        continue
    fi
    ./$script "$@"
done

exit 0
#