summaryrefslogtreecommitdiffstats
path: root/modules/noise
diff options
context:
space:
mode:
authorkrebs <krebs@UTART>2011-05-07 00:43:02 +0200
committerkrebs <krebs@UTART>2011-05-07 00:43:02 +0200
commit9e99c0c0848ccf9af357514eccbd9c52d40a103a (patch)
tree155d8dbd354e4e216a551134c2b8a50331c6594c /modules/noise
parenta4a8480fe818be00655c3afcacd03e2be826e25e (diff)
noise/Makefile: use variables
Diffstat (limited to 'modules/noise')
-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