diff options
author | Sebastian | 2010-02-10 22:05:24 +0100 |
---|---|---|
committer | Sebastian | 2010-02-10 22:05:24 +0100 |
commit | d5ee712ea0a8e8c782ee50c7a8f7e51448173aab (patch) | |
tree | d68b18484462499862ffe9a0aa5402a33e9f8b98 /boot-env/pbs/uclib-rootfs/etc/bbinit.d/example | |
parent | hack to enable loading of virtio_net after virtio_pci, maybe nex time via mod... (diff) | |
download | core-d5ee712ea0a8e8c782ee50c7a8f7e51448173aab.tar.gz core-d5ee712ea0a8e8c782ee50c7a8f7e51448173aab.tar.xz core-d5ee712ea0a8e8c782ee50c7a8f7e51448173aab.zip |
initial import of event based bbinit script (still not included in the real init)
Diffstat (limited to 'boot-env/pbs/uclib-rootfs/etc/bbinit.d/example')
-rw-r--r-- | boot-env/pbs/uclib-rootfs/etc/bbinit.d/example | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example b/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example new file mode 100644 index 00000000..245ca530 --- /dev/null +++ b/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example @@ -0,0 +1,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 + + |