#!/usr/bin/env bash ENV_FILE=${ENV_FILE:-/var/run/one-context/one_env} # $TOKENTXT is available only through the env. file # shellcheck disable=SC1090 if [ -f "${ENV_FILE}" ]; then . "${ENV_FILE}" fi ### if [ -n "${K3S_ROLE}" ]; then if [ "${K3S_ROLE}" = "server" ]; then rc-update add dnsmasq default service dnsmasq start rc-update add k3s default service k3s start fi fi