mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
The new package targets have no drawbacks compared to auto live mount, but the latter has proven difficult and does not match the normal boot scenario and could potentially panic due to unionfs being broken beyond repair (kib@'s words in spirit, not mine). Discussed with: @adschellevis
13 lines
312 B
Plaintext
13 lines
312 B
Plaintext
echo "Resetting root shell"
|
|
pw usermod -n root -s /bin/csh
|
|
|
|
echo "Updating /etc/shells"
|
|
cp /etc/shells /etc/shells.bak
|
|
(grep -v /usr/local/etc/rc.initial /etc/shells.bak) > /etc/shells
|
|
rm -f /etc/shells.bak
|
|
|
|
echo "Unhooking from /etc/rc"
|
|
cp /etc/rc /etc/rc.bak
|
|
tail -n +4 /etc/rc.bak > /etc/rc
|
|
rm -f /etc/rc.bak
|