summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image')
-rw-r--r--filehooker/root-image/etc/systemd/system/getty@tty1.service/run_krebs_secret.conf3
-rwxr-xr-xfilehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares2
2 files changed, 4 insertions, 1 deletions
diff --git a/filehooker/root-image/etc/systemd/system/getty@tty1.service/run_krebs_secret.conf b/filehooker/root-image/etc/systemd/system/getty@tty1.service/run_krebs_secret.conf
new file mode 100644
index 00000000..b2493294
--- /dev/null
+++ b/filehooker/root-image/etc/systemd/system/getty@tty1.service/run_krebs_secret.conf
@@ -0,0 +1,3 @@
+[Service]
+ExecStart=
+ExecStart=-/usr/bin/agetty --autologin hooker --noclear -l /krebs/bin/add-reaktor-secret.sh %I 38400 linux
diff --git a/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares b/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares
index aaf7ad77..1005998b 100755
--- a/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares
+++ b/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares
@@ -1,4 +1,4 @@
#!/bin/sh
-
+ncdc_user=hooker
sudo /krebs/bin/refresh-shares.ship 2>&1
sudo -u $ncdc_user /krebs/bin/update-search.sh 2>&1