Browse Source

x230: rename check_x230_root to force_x230_and_root

pull/102/head
Martin Kepplinger 5 years ago
parent
commit
c9df776f0f
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      x230/functions.sh
  2. +1
    -1
      x230/x230_before_first_install.sh
  3. +1
    -1
      x230/x230_heads.sh
  4. +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'
NC='\033[0m'
check_x230_root()
force_x230_and_root()
{
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
done
check_x230_root
force_x230_and_root
BIOS_VENDOR=$(dmidecode -t bios | grep Vendor | cut -d':' -f2)
if [[ $BIOS_VENDOR = *"coreboot"* ]] ; then


+ 1
- 1
x230/x230_heads.sh View File

@ -56,7 +56,7 @@ do
shift
done
check_x230_root
force_x230_and_root
if [ ! "$have_input_image" -gt 0 ] ; then
image_available=$(ls -1 | grep rom || true)


+ 1
- 1
x230/x230_skulls.sh View File

@ -54,7 +54,7 @@ do
shift
done
check_x230_root
force_x230_and_root
if [ ! "$have_input_image" -gt 0 ] ; then
image_available=$(ls -1 | grep x230_coreboot_seabios || true)


Loading…
Cancel
Save