diff options
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/umountfs | 6 | ||||
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/umountfs b/meta/recipes-core/initscripts/initscripts-1.0/umountfs index 5c6793dc9c..6ad0e43119 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/umountfs +++ b/meta/recipes-core/initscripts/initscripts-1.0/umountfs | |||
@@ -16,9 +16,9 @@ swapoff -a | |||
16 | 16 | ||
17 | # We leave /proc mounted. | 17 | # We leave /proc mounted. |
18 | echo "Unmounting local filesystems..." | 18 | echo "Unmounting local filesystems..." |
19 | mount -o remount,ro /mnt/ram | 19 | grep -q /mnt/ram /proc/mounts && mount -o remount,ro /mnt/ram |
20 | umount -f -a -r | ||
21 | |||
22 | mount -o remount,ro / | 20 | mount -o remount,ro / |
23 | 21 | ||
22 | umount -f -a -r > /dev/null 2>&1 | ||
23 | |||
24 | : exit 0 | 24 | : exit 0 |
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 1d2509e68b..d99092584e 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
@@ -6,7 +6,7 @@ DEPENDS = "makedevs" | |||
6 | RDEPENDS_${PN} = "makedevs" | 6 | RDEPENDS_${PN} = "makedevs" |
7 | LICENSE = "GPLv2" | 7 | LICENSE = "GPLv2" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
9 | PR = "r123" | 9 | PR = "r124" |
10 | 10 | ||
11 | SRC_URI = "file://functions \ | 11 | SRC_URI = "file://functions \ |
12 | file://halt \ | 12 | file://halt \ |