[PATCH] remove the database at startup.
This commit is contained in:
parent
00866ed2a1
commit
66a9021760
|
@ -49,6 +49,12 @@ case "$1" in
|
||||||
if [ ! -d $udev_root ]; then
|
if [ ! -d $udev_root ]; then
|
||||||
mkdir $udev_root
|
mkdir $udev_root
|
||||||
fi
|
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
|
||||||
|
fi
|
||||||
|
|
||||||
# propogate /udev from /sys - we only need this while we do not
|
# propogate /udev from /sys - we only need this while we do not
|
||||||
# have initramfs and an early user-space with which to do early
|
# have initramfs and an early user-space with which to do early
|
||||||
# device bring up
|
# device bring up
|
||||||
|
|
Loading…
Reference in a new issue