summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
blob: cdd7966c383bb7792a1bec7091635ca327134864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
. /etc/profile
. ${MV_ROOT}/bin/install_functions.sh

#check network parms
init_network



#install initial database
pacman -S --noconfirm mythdb-initial 2>/dev/null

#search for remote
init_remote

/root/startx &



# Set up automatically logged in user (larch live system only)
if [ -f /.livesys/autologin ]; then
    cp /.livesys/autologin /tmp/newuser
fi