From 0ce909e12b29cbe52e8161bc50b72ec40acaaf19 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 30 Jan 2008 22:53:40 +0000 Subject: addons should check things, not us. --- sh.Linux/init.sh | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'sh.Linux/init.sh') diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index 1be9b4af..8be70792 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -209,24 +209,15 @@ else esac for m in ${managers}; do - # Check common manager prerequisites and kernel params + # Check kernel params if get_bootparam "no${m}" || ! has_addon ${m}-start; then continue fi - # Check specific manager prerequisites - case ${m} in - devfs) - grep -Eqs "[[:space:]]+devfs$" /proc/filesystems || continue - ;; - *) - if [ -e /dev/.devfsd ]; then - mountinfo --quiet --fstype-regex devfs && continue - fi - ;; - esac - # Let's see if we can get this puppy rolling start_addon ${m} && break + + # Clean up + mountinfo -q /dev && umount -n /dev done fi -- cgit v1.2.3