Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
51dd0ced
Commit
51dd0ced
authored
Mar 09, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check if mountpoint exists
parent
8ef0152f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
init_elphel393
recipes-core/init-elphel393/files/init_elphel393
+3
-1
No files found.
recipes-core/init-elphel393/files/init_elphel393
View file @
51dd0ced
...
@@ -15,7 +15,9 @@ case "$1" in
...
@@ -15,7 +15,9 @@ case "$1" in
echo
"
$NAME
:"
echo
"
$NAME
:"
#mount here
#mount here
echo
" Mounting Memory Card to
$MNTPOINT
"
echo
" Mounting Memory Card to
$MNTPOINT
"
mkdir
$MNTPOINT
if
[
!
-d
$MNTPOINT
]
;
then
mkdir
$MNTPOINT
fi
mount
$MMCDEV
$MNTPOINT
mount
$MMCDEV
$MNTPOINT
if
[
-f
$MNTPOINT
/
$SOME_SCRIPT
]
;
then
if
[
-f
$MNTPOINT
/
$SOME_SCRIPT
]
;
then
echo
" Launching
$SOME_SCRIPT
"
echo
" Launching
$SOME_SCRIPT
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment