#!/bin/bash . /etc/profile . ${MV_ROOT}/bin/install_functions.sh #install initial database pacman -S --noconfirm mythdb-initial 2>/dev/null init_network /etc/rc.d/alsa-utils start 0 init_remote random_theme echo $CMDLINE | grep -q NoX if [ $? = 0 ] then echo "No auto X option found" /usr/bin/chvt 2 else /root/startx & fi