liminix/pkgs/s6-rc-up-tree/scripts/s6-rc

19 lines
344 B
Bash
Executable File

#!/usr/bin/env sh
echo s6-rc $@
[ "$1" = "-b" ] && shift
if [ "$1" = "-da" ]; then
if [ "$2" = "list" ]; then
echo wattle # controlled
echo wombat # controlled
echo turmeric # uncontrolled
test -n "$ATZ" || echo atz # uncontrolled
fi
fi
if [ "$1" = "-u" ]; then
if [ "$2" = "change" ]; then
echo "$3" >> $TEST_LOG
fi
fi