From cf5ff7ac996ec24b5c26c90e20f3489d295fb590 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 23 Jun 2007 20:56:44 +0000 Subject: initscripts 1.0: mountall.sh: Drop dependency on util-linux-mount. * Yes, there's such dependency, unspecified. Due to funky options it doesn't work with cute busybox mount. * Those funky options better be killed shamefully, but let's do the twist, and allow to specify additional mountall options via /etc/default/mountall, and let util-linix-mount spit its funkiness there. User can edit it to his likes, too. --- packages/initscripts/initscripts-1.0/mountall.sh | 5 ++++- packages/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'packages/initscripts') diff --git a/packages/initscripts/initscripts-1.0/mountall.sh b/packages/initscripts/initscripts-1.0/mountall.sh index 65d5d26b24..30f5b5ea37 100755 --- a/packages/initscripts/initscripts-1.0/mountall.sh +++ b/packages/initscripts/initscripts-1.0/mountall.sh @@ -4,6 +4,9 @@ # Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl # . /etc/default/rcS +if test -f /etc/default/mountall; then + . /etc/default/mountall +fi # # Mount local filesystems in /etc/fstab. For some reason, people @@ -11,7 +14,7 @@ # about this. So we mount "proc" filesystems without -v. # test "$VERBOSE" != no && echo "Mounting local filesystems..." -mount -at nonfs,nosmbfs,noncpfs 2>/dev/null +mount -a $MOUNTALL 2>/dev/null # # We might have mounted something over /dev, see if /dev/initctl is there. diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb index c390968bc1..1203fb4231 100644 --- a/packages/initscripts/initscripts_1.0.bb +++ b/packages/initscripts/initscripts_1.0.bb @@ -4,7 +4,7 @@ PRIORITY = "required" DEPENDS = "makedevs" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r94" +PR = "r95" SRC_URI = "file://halt \ file://ramdisk \ -- cgit 1.2.3-korg