summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-11-30 04:45:09 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-11-30 04:45:09 +0100
commit0edec8a51a52791e03d0cb5e9e01499d65b87dc8 (patch)
treeae02367a4a07767b6224a0acc8e29f4b87169481
parentf6a4442fa8df8cdc70b79ee793dee6deaf896f05 (diff)
docker: Trigger container init
-rwxr-xr-xdocker/init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/init.sh b/docker/init.sh
index 2f01a76..7afbbba 100755
--- a/docker/init.sh
+++ b/docker/init.sh
@@ -29,4 +29,6 @@ echo -e "openwrtpassword\nopenwrtpassword" | passwd
exit 0
EOF
+export container=lxc
+
exec /sbin/init "$@"