summaryrefslogtreecommitdiffstats
path: root/modules/noise/Makefile
diff options
context:
space:
mode:
authorroot <root@krebs>2011-05-08 01:23:36 +0200
committerroot <root@krebs>2011-05-08 01:23:36 +0200
commit33ac6e8455d71523fc4a1b083fbb9e6acae2bd2b (patch)
tree689f7010d2ec4952e7a6c4394f4833367ed1688e /modules/noise/Makefile
parent90b8f32a79e68d979438379d5e3799755427975c (diff)
parentbb26f83076b092a7ebca53482a2cdb6c86e9774b (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules/noise/Makefile')
-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