Skip to content

Instantly share code, notes, and snippets.

@kuzmik kuzmik/fuck
Last active Jan 10, 2018

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
apt remove -y --purge --auto-remove systemd dbus libdbus-1-3
apt update
apt -y upgrade
apt autoremove
apt autoclean
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
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.