aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..cf04bf6
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Installs system-wide configs and user configs
+
+# Copy system config files
+sudo cp -r system/* /
+
+# Activate runit services
+sudo ln -s /etc/runit/sv/dbus /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/bluetoothd /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/cronie /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/metalog /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/NetworkManager /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/dhcpcd /etc/runit/runsvdir/default/
+sudo ln -s /etc/runit/sv/wpa_supplicant /etc/runit/runsvdir/default/
+
+./stow.sh