linuxOS_AP05/debian/base-linaro/binary/var/lib/dpkg/info/insserv.postinst

12 lines
275 B
Plaintext
Raw Normal View History

2025-09-26 01:40:02 +00:00
#!/bin/sh
set -e
# When installing insserv (usually via sysvinit-core) on an existing system,
# fix up the rc?.d priorities from the dumb update-rc.d fallback (which uses
# priority 01 for everything).
if [ "$1" = "configure" ] && [ -z "$2" ]; then
insserv || true
fi