aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev/udev-165/cache
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev-165/cache')
-rw-r--r--recipes/udev/udev-165/cache24
1 files changed, 0 insertions, 24 deletions
diff --git a/recipes/udev/udev-165/cache b/recipes/udev/udev-165/cache
deleted file mode 100644
index 6936170b85..0000000000
--- a/recipes/udev/udev-165/cache
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh -e
-
-export TZ=/etc/localtime
-
-[ -f /etc/default/udev ] && . /etc/default/udev
-
-echo "Caching udev devnodes"
-
-if [ "$DEVCACHE" != "" ]; then
- echo -n "Populating dev cache"
- (cd /; tar cf $DEVCACHE dev)
- mv /tmp/uname /etc/udev/saved.uname
- mv /tmp/cmdline /etc/udev/saved.cmdline
- mv /tmp/devices /etc/udev/saved.devices
- mv /tmp/atags /etc/udev/saved.atags
- echo
-else
- rm -f /tmp/uname
- rm -f /tmp/cmdline
- rm -f /tmp/devices
- rm -f /tmp/atags
-fi
-
-exit 0