summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/noise/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/Makefile b/modules/noise/Makefile
index 89a4da8d..1eca7b0c 100644
--- a/modules/noise/Makefile
+++ b/modules/noise/Makefile
@@ -5,7 +5,7 @@ all: select-target
.PHONY: infest
infest:
apt-get install --yes expect beep alsa-utils ucspi-tcp espeak
- chown krebs: /usr/bin/beep && chmod 4755 /usr/bin/beep
+ f=/usr/bin/beep; chown krebs:krebs $$f && chmod 4755 $$f
getent passwd noise || useradd noise
ln -vsnf /krebs/modules/noise/init.d/noise /etc/init.d/noise
update-rc.d -f noise defaults