3 # This script performs default actions. It is invoked with CONFIG set
6 OVERLAYDIR="$(dirname $(realpath $0))"
7 . $OVERLAYDIR/functions
12 # Print the default init script
15 mount -t proc proc /proc
16 for srv in $START ; do service \$srv start ; done
18 [ \$# -gt 3 ] && return 0
19 echo "Starting dummy service" >&2
21 [ -p /run/dummy_service ] || mkfifo /run/dummy_service
22 ( printf dummy_service > /proc/self/comm ; read X < /run/dummy_service ) &
25 dummy_service /proc/*/comm