summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-02-20 20:31:00 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-02-23 14:28:14 -0300
commit3881ea711293c84a10757b01d768483ed8a9f4c2 (patch)
tree6117deec4c0e810805a4da32719b1c398b127912 /packages/initrdscripts/files
parentaaf8a26454415a9d0693c29abc8489aaf6ebb3bf (diff)
initramfs-module-aufs: use mkdir -p to create mount path
Diffstat (limited to 'packages/initrdscripts/files')
-rw-r--r--packages/initrdscripts/files/98-aufs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/initrdscripts/files/98-aufs.sh b/packages/initrdscripts/files/98-aufs.sh
index df05418c57..5f7cc11432 100644
--- a/packages/initrdscripts/files/98-aufs.sh
+++ b/packages/initrdscripts/files/98-aufs.sh
@@ -1,7 +1,7 @@
aufs_mount () {
modprobe -q aufs
- mkdir $2 /mnt
+ mkdir -p $2 /mnt
mount -t aufs -o br:$1:$2 none /mnt
}