diff options
Diffstat (limited to 'meta/recipes-core/udev/udev/init')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 95f9c0355f..9b81700ba2 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -68,8 +68,12 @@ case "$1" in | |||
68 | if [ "$READDATA" = "$VERSION$CMDLINE$DEVICES$ATAGS" ]; then | 68 | if [ "$READDATA" = "$VERSION$CMDLINE$DEVICES$ATAGS" ]; then |
69 | (cd /; tar xf $DEVCACHE > /dev/null 2>&1) | 69 | (cd /; tar xf $DEVCACHE > /dev/null 2>&1) |
70 | not_first_boot=1 | 70 | not_first_boot=1 |
71 | [ "$VERBOSE" != "no" ] && echo "udev: using cache file $DEVCACHE" | ||
72 | [ -e /dev/shm/udev.cache ] && rm -f /dev/shm/udev.cache | ||
73 | else | ||
74 | echo "$VERSION$CMDLINE$DEVICES$ATAGS" > /dev/shm/udev.cache | ||
71 | fi | 75 | fi |
72 | 76 | else | |
73 | echo "$VERSION$CMDLINE$DEVICES$ATAGS" > /dev/shm/udev.cache | 77 | echo "$VERSION$CMDLINE$DEVICES$ATAGS" > /dev/shm/udev.cache |
74 | fi | 78 | fi |
75 | fi | 79 | fi |