This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
lc-coreboot
Watch
1
Star
0
Fork
0
Code
Releases
28
Wiki
Activity
Browse Source
x230: rename check_x230_root to force_x230_and_root
pull/102/head
Martin Kepplinger
5 years ago
parent
8520560d62
commit
c9df776f0f
4 changed files
with
4 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
x230/functions.sh
+1
-1
x230/x230_before_first_install.sh
+1
-1
x230/x230_heads.sh
+1
-1
x230/x230_skulls.sh
+ 1
- 1
x230/functions.sh
View File
@ -6,7 +6,7 @@ GREEN='\033[0;32m'
YELLOW
=
'\033[0;33m'
YELLOW
=
'\033[0;33m'
NC
=
'\033[0m'
NC
=
'\033[0m'
c
h
e
ck
_x230_root
(
)
for
ce_x230
_and
_root
(
)
{
{
command
-v dmidecode >/dev/null 2>
&
1
||
{
echo
-e >
&
2
"
${
RED
}
Please install dmidecode and run as root.
${
NC
}
"
;
exit
1
;
}
command
-v dmidecode >/dev/null 2>
&
1
||
{
echo
-e >
&
2
"
${
RED
}
Please install dmidecode and run as root.
${
NC
}
"
;
exit
1
;
}
+ 1
- 1
x230/x230_before_first_install.sh
View File
@ -45,7 +45,7 @@ do
shift
shift
done
done
c
h
e
ck
_x230_root
for
ce_x230
_and
_root
BIOS_VENDOR
=
$(
dmidecode -t bios
|
grep Vendor
|
cut -d
':'
-f2
)
BIOS_VENDOR
=
$(
dmidecode -t bios
|
grep Vendor
|
cut -d
':'
-f2
)
if
[
[
$BIOS_VENDOR
=
*
"coreboot"
*
]
]
;
then
if
[
[
$BIOS_VENDOR
=
*
"coreboot"
*
]
]
;
then
+ 1
- 1
x230/x230_heads.sh
View File
@ -56,7 +56,7 @@ do
shift
shift
done
done
c
h
e
ck
_x230_root
for
ce_x230
_and
_root
if
[
!
"
$have_input_image
"
-gt
0
]
;
then
if
[
!
"
$have_input_image
"
-gt
0
]
;
then
image_available
=
$(
ls -1
|
grep rom
||
true
)
image_available
=
$(
ls -1
|
grep rom
||
true
)
+ 1
- 1
x230/x230_skulls.sh
View File
@ -54,7 +54,7 @@ do
shift
shift
done
done
c
h
e
ck
_x230_root
for
ce_x230
_and
_root
if
[
!
"
$have_input_image
"
-gt
0
]
;
then
if
[
!
"
$have_input_image
"
-gt
0
]
;
then
image_available
=
$(
ls -1
|
grep x230_coreboot_seabios
||
true
)
image_available
=
$(
ls -1
|
grep x230_coreboot_seabios
||
true
)
Write
Preview
Loading…
Cancel
Save