summaryrefslogblamecommitdiffstats
path: root/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example
blob: 245ca530c251b9daa877f6820fa6c6dbd23ff90d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                   
#!/bin/hush

me=$(basename $0)

. /etc/events/$me

echo "[$me] starting .."
for i in 1 2 3 4 5 6
do
  echo "[$me] $i"
  sleep 1
done
echo "[$me] finished .."
touch /tmp/event/$me
eval have=${me}_provides
echo "have${have}=1" >> /tmp/events