Skip to content

Instantly share code, notes, and snippets.

@kuzmik kuzmik/fuck systemd.sh
Last active Jan 10, 2018

Embed
What would you like to do?
srsly fuck systemd
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
You can’t perform that action at this time.