[Debconf-video-commits] r743 - fai-config/scripts/DVSWITCHPUBKEY

Holger Levsen holger at alioth.debian.org
Fri Feb 3 13:33:18 UTC 2012


Author: holger
Date: 2012-02-03 13:33:17 +0000 (Fri, 03 Feb 2012)
New Revision: 743

Modified:
   fai-config/scripts/DVSWITCHPUBKEY/10-authkeys
Log:
bah

Modified: fai-config/scripts/DVSWITCHPUBKEY/10-authkeys
===================================================================
--- fai-config/scripts/DVSWITCHPUBKEY/10-authkeys	2012-02-03 13:31:06 UTC (rev 742)
+++ fai-config/scripts/DVSWITCHPUBKEY/10-authkeys	2012-02-03 13:33:17 UTC (rev 743)
@@ -8,13 +8,13 @@
 mkdir -p /etc/ssh/userkeys
 echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBSst7yA9fy1ezxBv0esguqXeRj4s4CRzHFlBO/xFnKkpewZY1ZTyEb3oC0XyFcCRoFJrMkfjwoWN9AzlpMnqjgnuVqWyQB2UbgJpERkGBqxhPbWpfRDcW40JTV1G3W2mBni1WKuWH5mECVfguLRT7Q9CAqGZS18/ESQTGf6OndEOGb6EWl6954xD7+DDSIGEmL86pOIR/TRvffBrVyP3zb9rZmltHK+Iat3Q28eyc650+2U2iMgBenjE0M1X+QqlLc2kIKe5pP/z/qAdCQGU3WEuIXvAYalb1V+JRAvxHLfrVvzZIU+BbHbVQJTuYFXBKIO6kRRaSV24hJQrhp6K3 dvswitch at scratchy" > /etc/ssh/userkeys/dvswitch
 
-if $(ifclass FOSDEM) ; then
+ifclass FOSDEM && (
 	mkdir -p /home/dvswitch/.ssh
 	echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBSst7yA9fy1ezxBv0esguqXeRj4s4CRzHFlBO/xFnKkpewZY1ZTyEb3oC0XyFcCRoFJrMkfjwoWN9AzlpMnqjgnuVqWyQB2UbgJpERkGBqxhPbWpfRDcW40JTV1G3W2mBni1WKuWH5mECVfguLRT7Q9CAqGZS18/ESQTGf6OndEOGb6EWl6954xD7+DDSIGEmL86pOIR/TRvffBrVyP3zb9rZmltHK+Iat3Q28eyc650+2U2iMgBenjE0M1X+QqlLc2kIKe5pP/z/qAdCQGU3WEuIXvAYalb1V+JRAvxHLfrVvzZIU+BbHbVQJTuYFXBKIO6kRRaSV24hJQrhp6K3 dvswitch at scratchy" > /home/dvswitch/.ssh/authorized_keys
 	chown dvswitch.dvswitch -R /home/dvswitch/.ssh/authorized_keys
 	chown 700 /home/dvswitch/.ssh
 	chmod 600 /home/dvswitch/.ssh/authorized_keys
-fi
+)
 
 
 chown 1053.1008 /etc/ssh/userkeys/dvswitch




More information about the Debconf-video-commits mailing list