28 lines
544 B
Bash
28 lines
544 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck source=/dev/null
|
|
# shellcheck disable=SC2046
|
|
# shellcheck disable=SC2034
|
|
# shellcheck disable=SC1091
|
|
# shellcheck disable=SC2086
|
|
# shellcheck disable=SC2206
|
|
# shellcheck disable=SC2116
|
|
# shellcheck disable=SC2154
|
|
# shellcheck disable=SC2317
|
|
|
|
if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
|
if [[ "$1" == "sleep" ]]; then source /apps/gitrce/hook/sleep.sh "$0" 1 30; fi
|
|
|
|
__main() {
|
|
:
|
|
echo 'start.sh' >/apps/data/test.txt
|
|
}
|
|
|
|
__main
|
|
|
|
__help() {
|
|
cat >/dev/null <<-'EOF'
|
|
|
|
|
|
EOF
|
|
}
|