summaryrefslogtreecommitdiff
path: root/init-s6-base.sh
blob: 080045cb089abbeb55587db27a8c6eec440db9c2 (plain)
1
2
3
4
5
6
7
8
9
#! /bin/bash

echo "Re-initializing init base..."
rm -rf /etc/s6/base &&
s6-linux-init-maker -1 -f /etc/s6/skel -p "/bin:/sbin:/usr/bin"    \
	            -D default -G "/sbin/agetty -L -8 tty1 115200" \
		    -c /etc/s6/base -t 2 -L -u root -U utmp /etc/s6/base
rm -rf /etc/s6/base/scripts
cp -r /etc/s6/scripts /etc/s6/base/scripts