123456789101112131415161718192021 |
- # If both systemd and sysvinit are enabled, mask the dbus-1 init script
- if true; then
- if [ -n "$D" ]; then
- OPTS="--root=$D"
- fi
- systemctl $OPTS mask dbus-1.service
- fi
- if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
- /etc/init.d/populate-volatile.sh update
- fi
- # Begin section update-rc.d
- if type update-rc.d >/dev/null 2>/dev/null; then
- if [ -n "$D" ]; then
- OPT="-r $D"
- else
- OPT="-s"
- fi
- update-rc.d $OPT dbus-1 start 02 5 3 2 . stop 20 0 1 6 .
- fi
- # End section update-rc.d
|