Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
40122799
Commit
40122799
authored
Feb 26, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: print tweaks for importer
parent
dac39c53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rc.importer
src/etc/rc.importer
+4
-1
No files found.
src/etc/rc.importer
View file @
40122799
...
...
@@ -30,6 +30,7 @@ DEVS=$(camcontrol devlist)
PART
=
while
[
-z
"
${
PART
}
"
]
;
do
echo
echo
"
${
DEVS
}
"
echo
read
-p
"Select a device import from or leave blank to exit: "
DEV
...
...
@@ -43,11 +44,13 @@ while [ -z "${PART}" ]; do
# GPT layout found
PART
=
"/dev/
${
DEV
}
p3"
else
echo
"No known partition layout was found."
echo
echo
"No known partition layout was found for '
${
DEV
}
'."
fi
done
echo
mkdir
-p
${
MNT
}
fsck
-t
ufs
-y
${
PART
}
>
/dev/null
mount
${
PART
}
${
MNT
}
...
...
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