dpkg-reconfigure munin-cn
}
+# udev.preinst fails if devfs configs still exist
+upgrade_udev () {
+ local config
+
+ for config in /etc/udev/rules.d/devfs.rules \
+ /etc/udev/rules.d/compat-full.rules \
+ /etc/udev/rules.d/compat.rules
+ do
+ if [ -e $config ]; then
+ mv -v $config /etc/udev/
+ fi
+ done
+
+ if [ -f /etc/udev/udev.rules -a ! -f /etc/udev/rules.d/udev.rules ]; then
+ ln -sfv ../udev.rules /etc/udev/rules.d/
+ fi
+
+ pkgadd udev
+}
+
# fix /etc/dpkg/dpkg.cfg
comment_force_overwrite () {
if [ -f /etc/dpkg/dpkg.cfg ]; then