diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-11 23:18:42 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-11 23:18:42 (GMT) |
commit | 52b76328ff61765861da32a3c4c14b9a89dfb1ba (patch) | |
tree | 68f126550b32aba0cd379ab6cecac20037633c6d /build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local | |
parent | 4e51947ec7bdf7da4762de246a6117cd29b2777b (diff) | |
download | linhes_dev-52b76328ff61765861da32a3c4c14b9a89dfb1ba.zip |
MythVantage profile
Diffstat (limited to 'build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local')
-rwxr-xr-x | build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local new file mode 100755 index 0000000..c1b0154 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local @@ -0,0 +1,21 @@ +#!/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 + + |