chiark / gitweb /
[PATCH] remove the .udev.tdb when installing or uninstalling to be safe.
[elogind.git] / etc / init.d / udev
index 437556c3fb964a8448cb2380124e36ade1c76018..8a29f1197566449c011e32932933287248dc330c 100644 (file)
@@ -51,8 +51,8 @@ case "$1" in
        fi
 
        # remove the database if it is there as we always want to start fresh
-       if [ -f $udev_root/.udevdb ]; then
-               rm -f $udev_root/.udevdb
+       if [ -f $udev_root/.udev.tdb ]; then
+               rm -f $udev_root/.udev.tdb
        fi
 
        # propogate /udev from /sys - we only need this while we do not