Last active
January 10, 2018 17:49
-
-
Save kuzmik/b8881bb5b5edf196c9e617d1fc6bf94e to your computer and use it in GitHub Desktop.
srsly fuck systemd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install -y sysvinit-core locate | |
cp /usr/share/sysvinit/inittab /etc/inittab | |
echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' > /etc/apt/preferences.d/eat-shit-systemd | |
echo -e 'Package: libsystemd0\nPin: version *\nPin-Priority: 500\n' >> /etc/apt/preferences.d/eat-shit-systemd | |
reboot | |
apt remove -y --purge --auto-remove systemd dbus libdbus-1-3 | |
apt update | |
apt -y upgrade | |
apt autoremove | |
apt autoclean | |
updatedb | |
locate systemd | egrep -v '(eat-shit-systemd|libsystemd)' | xargs rm -rf | |
for user in "systemd-timesync" "systemd-network" "systemd-resolve" "systemd-bus-proxy"; do deluser -q $user; done | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment