Move install/* to .
[debian6500.git] / install / bios / update_bios_cfg.sh
diff --git a/install/bios/update_bios_cfg.sh b/install/bios/update_bios_cfg.sh
deleted file mode 100755 (executable)
index cbc1102..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-PROGNAME=$(basename $0)
-
-# check binary directory
-
-mydir=$(dirname $0)
-mydir=$(cd $mydir; pwd)
-
-# formating functions
-
-_echo () { printf "$@\n"; }
-title () { _echo "\033[0;1m$*\033[0;0m"; }
-pass () { _echo "\033[1;32m$*\033[0;0m"; }
-warn () { _echo "\033[1;33m$*\033[0;0m"; }
-fail () { _echo "\033[1;31m$*\033[0;0m"; }
-
-usage () {
-  echo "usage: $PROGNAME [-h] [-y] [-Y]"
-  echo " -h: help message"
-  echo " -y: really do update"
-  echo " -Y: do not ask for confirmation"
-  exit $@
-}
-
-# do command
-
-do_cmd () {
-  if [ "$DUMMY" = "no" ]; then
-    warn $@
-    { eval $@; } && pass OK || { fail KO; exit 1; }
-  else
-    echo ":: $@"
-  fi
-}
-
-# argument processing
-
-while [ $# -gt 0 ]; do
-  case "$1" in
-  -h) usage 0;;
-  -y) DUMMY=no;;
-  -Y) ANS=yes
-  esac
-  shift
-done
-[ "$DUMMY" = "no" ] && \
-  fail "Real mode, things will really append" || \
-  warn "Dummy mode, nothing will be done"
-if [ ! "$ANS" = "yes" ]; then
-  printf "Press 'y' to continue: "
-  read ANS
-  [ "$ANS" = "y" ] || exit 1
-fi
-
-VERSION=$($mydir/dmidecode | awk '/BIOS Revision/ { print $(NF) }')
-title "BIOS version: $VERSION"
-
-CFG="bios-$VERSION.cfg"
-[ -f $mydir/$CFG ] || { echo "unknown bios version ($VERSION)"; exit 1; }
-
-title "Configure BIOS"
-do_cmd $mydir/SCELNX_64 /i /s $mydir/$CFG /q