summaryrefslogtreecommitdiffstats
path: root/package/udev/init-udev
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-01 17:49:42 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-01 17:49:42 +0000
commitb9d31ddac5ab51e7e8bcfc10b1f1e75ca581757f (patch)
tree88c6582c174d6ae6f6cc960a1cbb20eb2ada5dab /package/udev/init-udev
parent60f03494acdbbe847c0d81148d02fe78f65d3748 (diff)
downloadbuildroot-novena-b9d31ddac5ab51e7e8bcfc10b1f1e75ca581757f.tar.gz
buildroot-novena-b9d31ddac5ab51e7e8bcfc10b1f1e75ca581757f.zip
- bump version. Thanks to Petr Stetiar.
Diffstat (limited to 'package/udev/init-udev')
-rwxr-xr-xpackage/udev/init-udev5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/udev/init-udev b/package/udev/init-udev
index 4f424950f..5f51c5d3c 100755
--- a/package/udev/init-udev
+++ b/package/udev/init-udev
@@ -27,6 +27,8 @@ UDEV_BIN=/sbin/udev
test -x $UDEV_BIN || exit 5
UDEVSTART_BIN=/sbin/udevstart
test -x $UDEVSTART_BIN || exit 5
+UDEVD_BIN=/sbin/udevd
+test -x $UDEVD_BIN || exit 5
# Check for config file and read it
UDEV_CONFIG=/etc/udev/udev.conf
@@ -64,7 +66,10 @@ case "$1" in
echo -n "Populating $udev_root using udev... "
$UDEVSTART_BIN || (echo "FAIL" && exit 1)
mkdir $udev_root/pts $udev_root/shm
+ # start daemon
+ $UDEVD_BIN --daemon || (echo "udevd FAIL" && exit 1)
echo "done"
+ mount -a
;;
stop)
# do nothing