Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipstick
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
osak
lipstick
Commits
dd595f70
Commit
dd595f70
authored
9 years ago
by
Christopher Spinrath
Browse files
Options
Downloads
Patches
Plain Diff
scripts: rename MultiBoot -> LIPStick
parent
1410065e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/mount-stick-repo.sh
+7
-4
7 additions, 4 deletions
scripts/mount-stick-repo.sh
with
7 additions
and
4 deletions
scripts/mount-stick-repo.sh
+
7
−
4
View file @
dd595f70
#! /bin/bash
#! /bin/bash
set
-e
set
-e
LIPSTICK_LABEL
=
"LIPStick"
LIPSTICK_LABEL_ALT
=
"
$(
echo
-n
"
$LIPSTICK_LABEL
"
|
tr
"[a-z]"
"[A-Z]"
)
"
#find device
#find device
DEV
=
"
$(
blkid
-t
"LABEL=
MultiBoot
"
-o
device |
head
-n1
||
echo
''
)
"
DEV
=
"
$(
blkid
-t
"LABEL=
$LIPSTICK_LABEL
"
-o
device |
head
-n1
||
echo
''
)
"
if
[
-z
"
$DEV
"
]
;
then
if
[
-z
"
$DEV
"
]
;
then
DEV
=
"
$(
blkid
-t
"LABEL=
MULTIBOO
T"
-o
device |
head
-n1
||
echo
''
)
"
DEV
=
"
$(
blkid
-t
"LABEL=
$LIPSTICK_LABEL_AL
T
"
-o
device |
head
-n1
||
echo
''
)
"
fi
fi
PS3
=
"[1,2,3]<Enter>: "
PS3
=
"[1,2,3]<Enter>: "
...
@@ -16,9 +19,9 @@ while [ -z "$DEV" ]; do
...
@@ -16,9 +19,9 @@ while [ -z "$DEV" ]; do
"Installation abbrechen"
;
do
"Installation abbrechen"
;
do
case
$i
in
case
$i
in
"Stick ist jetzt gesteckt"
)
"Stick ist jetzt gesteckt"
)
DEV
=
"
$(
blkid
-t
"LABEL=
MultiBoot
"
-o
device |
head
-n1
||
echo
''
)
"
DEV
=
"
$(
blkid
-t
"LABEL=
$LIPSTICK_LABEL
"
-o
device |
head
-n1
||
echo
''
)
"
if
[
-z
"
$DEV
"
]
;
then
if
[
-z
"
$DEV
"
]
;
then
DEV
=
"
$(
blkid
-t
"LABEL=
MULTIBOO
T"
-o
device |
head
-n1
||
echo
''
)
"
DEV
=
"
$(
blkid
-t
"LABEL=
$LIPSTICK_LABEL_AL
T
"
-o
device |
head
-n1
||
echo
''
)
"
fi
fi
;;
;;
"Ohne Stick weitermachen"
)
"Ohne Stick weitermachen"
)
...
...
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