Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
5831b29f
Commit
5831b29f
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
usb drive option to keydrive can include path
parent
4c62933e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-controlpanel
+2
-2
2 additions, 2 deletions
src/freedombone-controlpanel
src/freedombone-keydrive
+5
-1
5 additions, 1 deletion
src/freedombone-keydrive
with
7 additions
and
3 deletions
src/freedombone-controlpanel
+
2
−
2
View file @
5831b29f
...
...
@@ -1055,7 +1055,7 @@ function create_keydrive_master {
--msgbox
$"Plug in a LUKS encrypted USB drive"
6 40
clear
detect_usb_drive
${
PROJECT_NAME
}
-keydrive
-u
$SELECTED_USERNAME
--master
'yes'
${
PROJECT_NAME
}
-keydrive
-u
$SELECTED_USERNAME
--master
'yes'
-d
$USB_DRIVE
any_key
}
...
...
@@ -1068,7 +1068,7 @@ function create_keydrive_fragment {
--msgbox
$"Plug in a LUKS encrypted USB drive"
6 40
clear
detect_usb_drive
${
PROJECT_NAME
}
-keydrive
-u
$SELECTED_USERNAME
${
PROJECT_NAME
}
-keydrive
-u
$SELECTED_USERNAME
-d
$USB_DRIVE
any_key
}
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-keydrive
+
5
−
1
View file @
5831b29f
...
...
@@ -62,7 +62,11 @@ case $key in
;;
-d
|
--dev
)
shift
USB_DRIVE
=
/dev/
${
1
}
1
if
[[
"
${
1
}
"
!=
'/dev/'
*
]]
;
then
USB_DRIVE
=
/dev/
${
1
}
1
else
USB_DRIVE
=
${
1
}
fi
;;
-m
|
--master
)
shift
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment