diff options
Diffstat (limited to 'packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh')
-rw-r--r-- | packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh b/packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh index e69de29bb2..b7ae8b76e5 100644 --- a/packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh +++ b/packages/openslug-init/openslug-init-0.10/initscripts/umountinitrd.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# +# umount /mnt, which is where the initrd ends up mounted +# if the directory /initrd is not present +exec umount /mnt 2>/dev/null |