made some files template based

This commit is contained in:
Gal Szkolnik 2025-05-08 16:13:12 +00:00
parent bc43b9b05a
commit 757b130a01
10 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1,11 @@
{{- if lookPath "systemctl" -}}
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
if is_cmd szetup-kubectl4k3s && [ "$(systemctl is-active k3s.service)" = "active" ]; then
. <( szetup-kubectl4k3s - )
[[ -n "${DBG}" ]] && echo "kubectl for k3s setup complete."
fi
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
{{- end -}}