diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2005-07-04 21:25:25 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-04 21:25:25 +0000 |
commit | 4fefbe57202cc684e99dc408842f38906facc590 (patch) | |
tree | ec46d796bbd7fb4098b4780cad113399a4119bb1 /packages/maemo/nokia770-init | |
parent | b65e20b5cdf2db87453b03381894585460096192 (diff) |
Add package to do some initialisation and fixups like unmounting stuff
from initrd and create some useful links.
Diffstat (limited to 'packages/maemo/nokia770-init')
-rw-r--r-- | packages/maemo/nokia770-init/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/maemo/nokia770-init/fixup-770.sh | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/packages/maemo/nokia770-init/.mtn2git_empty b/packages/maemo/nokia770-init/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/maemo/nokia770-init/.mtn2git_empty diff --git a/packages/maemo/nokia770-init/fixup-770.sh b/packages/maemo/nokia770-init/fixup-770.sh new file mode 100644 index 0000000000..02c18d4108 --- /dev/null +++ b/packages/maemo/nokia770-init/fixup-770.sh @@ -0,0 +1,17 @@ +#! /bin/sh +case "$1" in + start) + echo -n "Unmounting virtual fs from initrd" + umount /mnt/initfs/sys + umount /mnt/initfs/proc + ;; + stop) + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop}" >&2 + exit 1 + ;; +esac + +exit 0 +
\ No newline at end of file |