summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local')
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local16
1 files changed, 16 insertions, 0 deletions
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
new file mode 100755
index 0000000..216ec8e
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# /etc/rc.local: Local multi-user startup script.
+#
+
+#install initial database
+pacman -S --noconfirm mythdb-initial 2>/dev/null
+
+# Set up automatically logged in user (larch live system only)
+if [ -f /.livesys/autologin ]; then
+ cp /.livesys/autologin /tmp/newuser
+fi
+
+# Restore saved sound volume, etc.
+#alsactl restore
+#install initial database