projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing fastboot handling, the normal system handles this via 'fastboot' bootparamet...
[live-boot-grml.git]
/
scripts
/
boot
/
misc-helpers.sh
diff --git
a/scripts/boot/misc-helpers.sh
b/scripts/boot/misc-helpers.sh
index
abb2dd2
..
856a023
100755
(executable)
--- a/
scripts/boot/misc-helpers.sh
+++ b/
scripts/boot/misc-helpers.sh
@@
-712,16
+712,16
@@
removable_dev ()
then
if [ -z "${want_usb}" ]
then
then
if [ -z "${want_usb}" ]
then
- dev_ok="
yes
"
+ dev_ok="
true
"
else
if readlink ${sysblock} | grep -q usb
then
else
if readlink ${sysblock} | grep -q usb
then
- dev_ok="
yes
"
+ dev_ok="
true
"
fi
fi
fi
fi
fi
fi
- if [ "${dev_ok}" = "
yes
" ]
+ if [ "${dev_ok}" = "
true
" ]
then
case "${output_format}" in
sys)
then
case "${output_format}" in
sys)
@@
-940,7
+940,7
@@
get_custom_mounts ()
opt_source=${opt#source=}
;;
link)
opt_source=${opt#source=}
;;
link)
- opt_link="
yes
"
+ opt_link="
true
"
;;
union|bind)
;;
;;
union|bind)
;;
@@
-1008,22
+1008,22
@@
activate_custom_mounts ()
while read device source dest options # < ${custom_mounts}
do
while read device source dest options # < ${custom_mounts}
do
- local opt_bind="
yes
"
+ local opt_bind="
true
"
local opt_link=""
local opt_union=""
for opt in $(echo ${options} | tr ',' ' ');
do
case "${opt}" in
bind)
local opt_link=""
local opt_union=""
for opt in $(echo ${options} | tr ',' ' ');
do
case "${opt}" in
bind)
- opt_bind="
yes
"
+ opt_bind="
true
"
unset opt_link opt_union
;;
link)
unset opt_link opt_union
;;
link)
- opt_link="
yes
"
+ opt_link="
true
"
unset opt_bind opt_union
;;
union)
unset opt_bind opt_union
;;
union)
- opt_union="
yes
"
+ opt_union="
true
"
unset opt_bind opt_link
;;
esac
unset opt_bind opt_link
;;
esac