mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
text format changes
This commit is contained in:
parent
2a1ca58dc0
commit
77e5a12bca
3 changed files with 13 additions and 6 deletions
|
@ -6,9 +6,11 @@ _APPNAME=${0##*/}
|
||||||
_MODULE_DIR="/usr/lib/modules/${_RUNNING_KERNEL}"
|
_MODULE_DIR="/usr/lib/modules/${_RUNNING_KERNEL}"
|
||||||
_FIRMWARE="/lib/firmware"
|
_FIRMWARE="/lib/firmware"
|
||||||
_usage () {
|
_usage () {
|
||||||
echo " Check Firmware And Modules Archboot Environment"
|
echo -e "\e[1mCheck Firmware And Modules Archboot Environment\e[m"
|
||||||
echo "------------------------------------------------"
|
echo -e "\e[1m---------------------------------------------------------------\e[m"
|
||||||
echo "usage: ${_APPNAME} run"
|
echo "Check modules on firmware depends and existence in environment."
|
||||||
|
echo ""
|
||||||
|
echo -e "usage: \e[1m${_APPNAME} run\e[m"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
[[ -z "${1}" || "${1}" != "run" ]] && _usage
|
[[ -z "${1}" || "${1}" != "run" ]] && _usage
|
||||||
|
|
|
@ -20,6 +20,9 @@ _usage()
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
[[ -z "${1}" ]] && _usage
|
[[ -z "${1}" ]] && _usage
|
||||||
|
_archboot_check
|
||||||
|
echo "Waiting for pacman keyring..."
|
||||||
|
_pacman_keyring
|
||||||
echo "Installing kernel..."
|
echo "Installing kernel..."
|
||||||
pacman -Sydd --noconfirm --noscriptlet linux &>"${_LOG}"
|
pacman -Sydd --noconfirm --noscriptlet linux &>"${_LOG}"
|
||||||
depmod -a
|
depmod -a
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
_LOG=testsuite.log
|
_LOG=testsuite.log
|
||||||
_APPNAME=${0##*/}
|
_APPNAME=${0##*/}
|
||||||
_usage () {
|
_usage () {
|
||||||
echo "Testsuite for Archboot Environment"
|
echo -e "\e[1mTestsuite for Archboot Environment\e[m"
|
||||||
echo "----------------------------------"
|
echo -e "\e[1m---------------------------------------------\e[m"
|
||||||
echo "usage: ${_APPNAME} run"
|
echo "Run automatic tests to detect errors/changes."
|
||||||
|
echo ""
|
||||||
|
echo -e "usage: \e[1m${_APPNAME} run\e[m"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
_run_test () {
|
_run_test () {
|
||||||
|
|
Loading…
Reference in a new issue