aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
commitb943ef609ef9aeba96599770f730d27b529146a6 (patch)
tree4cea10e6576ed1b8a47ddead13301aa6e4f42ae4 /install.sh
parentf0cc6eec402a0deceafc0e0663d77008a969d7aa (diff)
downloadswayrice-b943ef609ef9aeba96599770f730d27b529146a6.tar.gz
swayrice-b943ef609ef9aeba96599770f730d27b529146a6.zip
cleanup: remove old files, improve install
Clean up old files and improve installation of system-wide configuration.
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