mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
show iptions
This commit is contained in:
parent
e937b5fa6b
commit
55d8f26a88
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ usage () {
|
||||||
# local image
|
# local image
|
||||||
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
||||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3860000 ]] ; then
|
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3860000 ]] ; then
|
||||||
if ! [[ -e "/.graphic_run" ]]; then
|
if ! [[ -e "/.graphic_run" && "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 5920000 ]]; then
|
||||||
_graphic_options
|
_graphic_options
|
||||||
echo -e " \033[1m-xfce\033[0m Launch XFCE desktop with VNC sharing enabled."
|
echo -e " \033[1m-xfce\033[0m Launch XFCE desktop with VNC sharing enabled."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in a new issue