-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/lib/dpkg/info/
File Upload :
Current File : /var/lib/dpkg/info/udev.prerm

#!/bin/sh -e

# adapted from postinst
chrooted() {
  if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
  then
    return 1
  fi
  return 0
}

kill_udevd() {
    start-stop-daemon --stop --name udevd --user root --oknodo --quiet --retry 5
}

case "$1" in
    remove|deconfigure|failed-upgrade)
    if ! chrooted; then
      kill_udevd
    fi
    ;;

    upgrade|deconfigure)
    ;;

    *)
    echo "$0 called with unknown argument '$1'" >&2
    exit 1
    ;;
esac

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/udev/links.conf 204-9~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/init.d/udev-mtab 204-1~ -- "$@"
# End automatically added section



Copyright © 2017 || Recoded By Mr.Bumblebee