aboutsummaryrefslogtreecommitdiff
path: root/install-root.sh
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-05-20 02:05:39 +0200
committerDuncaen <mail@duncano.de>2016-05-20 02:05:39 +0200
commit9a155db09dbb9c1af98b400811e058a1e9267706 (patch)
tree650f62179b3d432213ee93383b97dd14fa5e8557 /install-root.sh
parent30cc616c6affd248cf706e579653326355e2be08 (diff)
downloaddotfiles-9a155db09dbb9c1af98b400811e058a1e9267706.tar.gz
install: updates
Diffstat (limited to 'install-root.sh')
-rwxr-xr-xinstall-root.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/install-root.sh b/install-root.sh
new file mode 100755
index 0000000..f010530
--- /dev/null
+++ b/install-root.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+ln -sfv "${PWD}/sv/runsvdir-duncan" /etc/sv
+chown -v root:root /usr/local/bin/pam_runit_session
+
+ln -sfv "${PWD}/ssh/ssh_config" /etc/ssh/ssh_config
+chown -v root:root /etc/ssh/ssh_config
+chmod -v 644 /etc/ssh/ssh_config