mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-21 17:29:12 +01:00
debian converted to s6, aline files moved
This commit is contained in:
12
s6/debian-root/usr/bin/set-contenv
Executable file
12
s6/debian-root/usr/bin/set-contenv
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
|
||||
if { s6-test $# -eq 2 }
|
||||
|
||||
backtick -in FILENAME {
|
||||
pipeline { s6-echo "${1}" }
|
||||
tr "a-z" "A-Z"
|
||||
}
|
||||
import -u FILENAME
|
||||
|
||||
redirfd -w 1 /var/run/s6/container_environment/${FILENAME}
|
||||
s6-echo -n -- ${2}
|
||||
Reference in New Issue
Block a user