__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
set -e
# begin-remove-after: released:trixie
if [ "$1" = "configure" ]; then
for n in halt poweroff shutdown; do
fn=$(dpkg-divert --truename "/usr/sbin/$n")
if ! test -h "$fn"; then
if test "$fn" = "/usr/sbin/$n"; then
echo "/usr/sbin/$n vanished in /usr-merge upgrade. Restoring."
else
echo "/usr/sbin/$n (diverted to $fn) vanished in /usr-merge upgrade. Restoring."
fi
ln -sf ../bin/systemctl "$fn"
fi
done
fi
# end-remove-after
# update grub on first install, so that the alternative init system boot
# entries get updated
if [ "$1" = configure ] && [ -z "$2" ] && [ -e /boot/grub/grub.cfg ] && command -v update-grub >/dev/null; then
update-grub || true
fi