mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-07 18:55:50 +03:00
drop unused init
This commit is contained in:
15
init.sh
15
init.sh
@@ -1,15 +0,0 @@
|
||||
#!/sbin/dinit /bin/sh
|
||||
|
||||
uid=$(id -u)
|
||||
|
||||
if [[ ${uid} -eq 0 ]]; then
|
||||
echo "init container"
|
||||
|
||||
# set container's time zone
|
||||
cp /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
|
||||
echo "${TIME_ZONE}" >/etc/timezone
|
||||
echo "set timezone ${TIME_ZONE} ($(date))"
|
||||
fi
|
||||
|
||||
echo "execute \"$@\""
|
||||
exec $@
|
||||
Reference in New Issue
Block a user