mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor(hakurei): add kyuuto
This commit is contained in:
parent
8335b8f3a0
commit
6814747c40
15 changed files with 158 additions and 13 deletions
|
|
@ -66,7 +66,7 @@ WRAPPERBIN=/opt/infra/sbin
|
|||
SUDOERS_INFRABINS=
|
||||
rm -f "$INFRABIN/"* "$WRAPPERBIN/"*
|
||||
mkdir -m 0755 -p "$INFRABIN" "$WRAPPERBIN"
|
||||
for infrabin in putfile64 pve ct-config; do
|
||||
for infrabin in putfile64 pve mkpam ct-config; do
|
||||
infrainput="${infrabin//-/_}"
|
||||
infrainput="INPUT_INFRA_${infrainput^^}"
|
||||
printf '%s\n' "${!infrainput}" | base64 -d > "$WRAPPERBIN/$infrabin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue