mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove dhcpcd checks
This commit is contained in:
parent
a2257d8b99
commit
5d692b4966
1 changed files with 3 additions and 6 deletions
|
@ -27,10 +27,8 @@ usage () {
|
||||||
echo -e "\033[1mPARAMETERS:\033[0m"
|
echo -e "\033[1mPARAMETERS:\033[0m"
|
||||||
echo -e " \033[1m-h\033[0m This message."
|
echo -e " \033[1m-h\033[0m This message."
|
||||||
echo -e ""
|
echo -e ""
|
||||||
if [[ -e /usr/bin/dhcpcd ]]; then
|
echo -e " \033[1m-u\033[0m Update scripts: setup, quickinst, tz, km and helpers."
|
||||||
echo -e " \033[1m-u\033[0m Update scripts: setup, quickinst, tz, km and helpers."
|
echo -e ""
|
||||||
echo -e ""
|
|
||||||
fi
|
|
||||||
if [[ -e /usr/bin/setup ]]; then
|
if [[ -e /usr/bin/setup ]]; then
|
||||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3400000 ]]; then
|
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3400000 ]]; then
|
||||||
echo -e " \033[1m-launch-gnome\033[0m Launch Gnome desktop with VNC sharing enabled."
|
echo -e " \033[1m-launch-gnome\033[0m Launch Gnome desktop with VNC sharing enabled."
|
||||||
|
@ -51,8 +49,7 @@ usage () {
|
||||||
echo -e " \033[1m-latest-image\033[0m Generate latest image files in /archboot directory"
|
echo -e " \033[1m-latest-image\033[0m Generate latest image files in /archboot directory"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 1970000 &&\
|
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 1970000 ]]; then
|
||||||
-e /usr/bin/dhcpcd ]]; then
|
|
||||||
if ! [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 3277000 &&\
|
if ! [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 3277000 &&\
|
||||||
-e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
-e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
||||||
echo -e " \033[1m-latest\033[0m Launch latest archboot environment (using kexec)."
|
echo -e " \033[1m-latest\033[0m Launch latest archboot environment (using kexec)."
|
||||||
|
|
Loading…
Reference in a new issue