drop unused init

This commit is contained in:
Umputun
2021-04-16 04:02:05 -05:00
parent 8cf4b9063d
commit 212129faf1

15
init.sh
View File

@@ -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 $@