diff options
author | greg@kroah.com <greg@kroah.com> | 2004-12-05 08:31:04 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:06:10 -0700 |
commit | 69bef84191f12dd82f7520f57e195f510bc9f96f (patch) | |
tree | 0a2d9271afa7f70a5565fcc0ba7b8a0f53a8793e /test/wait_for_sysfs_test.sh | |
parent | 5bc597fecaf6a2535aa4b66a21e609e80cfefcb1 (diff) |
[PATCH] delete a bunch of files no longer needed.
Thanks to Kay for pointing it out.
Diffstat (limited to 'test/wait_for_sysfs_test.sh')
-rw-r--r-- | test/wait_for_sysfs_test.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/wait_for_sysfs_test.sh b/test/wait_for_sysfs_test.sh deleted file mode 100644 index 9b80a42271..0000000000 --- a/test/wait_for_sysfs_test.sh +++ /dev/null @@ -1,44 +0,0 @@ -#! /bin/bash -# - -# Check for missing binaries (stale symlinks should not happen) -UDEV_BIN=../wait_for_sysfs -test -x $UDEV_BIN || exit 5 - -# Directory where sysfs is mounted -SYSFS_DIR=/sys - -run_udev () { - # handle block devices and their partitions - for i in ${SYSFS_DIR}/block/*; do - # add each drive - export DEVPATH=${i#${SYSFS_DIR}} - $UDEV_BIN block - - # add each partition, on each device - for j in $i/*; do - if [ -f $j/dev ]; then - export DEVPATH=${j#${SYSFS_DIR}} - $UDEV_BIN block - fi - done - done - # all other device classes - for i in ${SYSFS_DIR}/class/*; do - # try adding empty classes, just to test stuff... - export DEVPATH=${i#${SYSFS_DIR}} - CLASS=`echo ${i#${SYSFS_DIR}} | cut --delimiter='/' --fields=3-` - $UDEV_BIN $CLASS - - for j in `ls $i/`; do - x=$i/$j - export DEVPATH=${x#${SYSFS_DIR}} - CLASS=`echo ${i#${SYSFS_DIR}} | \ - cut --delimiter='/' --fields=3-` - $UDEV_BIN $CLASS - done - done -} - -export ACTION=add -run_udev |