#!/bin/ash set -e export HOME=/root export TERM=dumb # no root password at all is sometimes better than a weak/default one cp -pi /etc/shadow /etc/shadow.dist passwd -d root diff -bu /etc/shadow.dist /etc/shadow || true # TODO TZ= in /etc/profile butch install dumb-init || cat /src/logs/build_dumb-init.log # clean-up rm -f /root/.ash_history rm -f /root/.wget-hsts rm -f /root/install.ash