summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-14 20:29:20 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-14 20:29:20 +0200
commitdaca8e958bb6e8e6d97e0121481874100e1d281e (patch)
tree25c0fddf7f606c5e2fbb00f380bb9596b92b2474
parentf4544cf0512d5c5d48263be086afe55d8c201d45 (diff)
added home infest/ partially fixed noise makefile
Makefile: infest/root now included bootstrap.sh: now only prints what you have to do after deployment infest/root: script which copies everything in root into original root modules/noise/Makefile: fixed when no audio is available (by || true command) root/ssh/authorized_keys: now in the correct path (shame on you tv!)
-rw-r--r--Makefile1
-rw-r--r--bootstrap.sh7
-rw-r--r--infest/root1
-rw-r--r--modules/noise/Makefile8
-rw-r--r--root/ssh/authorized_keys5
5 files changed, 15 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index b654217d..09b68293 100644
--- a/Makefile
+++ b/Makefile
@@ -6,4 +6,5 @@ all: select-target
.PHONY: infest
infest:
infest/etc
+ infest/root
make -C modules/noise infest
diff --git a/bootstrap.sh b/bootstrap.sh
index 3a1de4eb..433235e9 100644
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -13,9 +13,10 @@ pacman -Sy git || \
cd /krebs || { echo "cannot change into /krebs folder:(" ; exit 1; } || exit 1
-read -n1 -p "infest now? [yN]"
+#read -n1 -p "infest now? [yN]"
-[[ $REPLY = [yY] ]] && make infest
-echo $REPLY
+#[[ $REPLY = [yY] ]] && make infest
+#echo $REPLY
+echo "do 'make infest' in /krebs"
echo "have a nice day"
diff --git a/infest/root b/infest/root
new file mode 100644
index 00000000..dedbafc8
--- /dev/null
+++ b/infest/root
@@ -0,0 +1 @@
+cp -r root /
diff --git a/modules/noise/Makefile b/modules/noise/Makefile
index ab9709ac..ea677185 100644
--- a/modules/noise/Makefile
+++ b/modules/noise/Makefile
@@ -8,9 +8,9 @@ infest:
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
+ ## tv: TODO update-rc.d is DEBIAN ONLY, fix this
update-rc.d -f noise defaults
- ##
- amixer sset 'Master' 100 unmute
- amixer sset 'PCM' 100 unmute
+ amixer sset 'Master' 100 unmute || true
+ amixer sset 'PCM' 100 unmute || true
amixer sset 'PC Speaker' 100 unmute || \
- amixer sset 'Beep' 100 unmute
+ amixer sset 'Beep' 100 unmute || true
diff --git a/root/ssh/authorized_keys b/root/ssh/authorized_keys
new file mode 100644
index 00000000..4c4c8aed
--- /dev/null
+++ b/root/ssh/authorized_keys
@@ -0,0 +1,5 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCl3RTOHd5DLiVeUbUr/GSiKoRWknXQnbkIf+uNiFO+XxiqZVojPlumQUVhasY8UzDzj9tSDruUKXpjut50FhIO5UFAgsBeMJyoZbgY/+R+QKU00Q19+IiUtxeFol/9dCO+F4o937MC0OpAC10LbOXN/9SYIXueYk3pJxIycXwUqhYmyEqtDdVh9Rx32LBVqlBoXRHpNGPLiswV2qNe0b5p919IGcslzf1XoUzfE3a3yjk/XbWh/59xnl4V7Oe7+iQheFxOT6rFA30WYwEygs5As//ZYtxvnn0gA02gOnXJsNjOW9irlxOUeP7IOU6Ye3WRKFRR0+7PS+w8IJLag2xb makefu@servarch
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3SFNYGRiH0oz44G51MWx+o4cC3Fj+ez5DKO5jjtEFZ0ik8XQ5CrVj7a87WbwABA/XRdIt+3WHoInsRmuDfgcIMYgWC567v2GdOxXg2danEIAhhsOY7KiCBLCfZz7lrFO7F6eJH1RCkwrXY+59hkA+i3LNtLmZazJIb2AGwFF8Xf+b/eWmLhqjCYON+OpvqftbCm9CwhLYOUcVoR94gFAzlMYSCHR7RuBBdLV6zrkmEwFEsKghBI7fcdhwfQxuV5UGVCD58KkTQTgK/Mf2tmAg/muBM+P8s2O6wV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