[Da-tools-commits] ./da-tools/userdir-ldap-turmzimmer r387: Place a link at a host-independent location to the forward-alias file.

Marc 'HE' Brockschmidt he at debian.org
Sat Apr 19 21:13:59 UTC 2008


------------------------------------------------------------
revno: 387
committer: Marc 'HE' Brockschmidt <he at debian.org>
branch nick: userdir-ldap-turmzimmer
timestamp: Sat 2008-04-19 23:13:59 +0200
message:
  Place a link at a host-independent location to the forward-alias file.
  
  Don't cry, baby Jesus. We will remove this again soon, when we have fixed
  all machines to use the much nicer /var/lib/misc/thishost.
modified:
  ud-replicate
-------------- next part --------------
=== modified file 'ud-replicate'
--- a/ud-replicate	2008-04-16 12:09:51 +0000
+++ b/ud-replicate	2008-04-19 21:13:59 +0000
@@ -61,7 +61,7 @@
 makedb "$HOST/group.tdb" -o group.db.t
 mv -f passwd.db.t passwd.db
 mv -f group.db.t group.db
-for a in $HOST/ssh-rsa-shadow $HOST/ssh_known_hosts; do
+for a in $HOST/ssh-rsa-shadow $HOST/ssh_known_hosts $HOST/forward-alias; do
 	ln -sf $a .
 done
 ln -sf `pwd -P`/ssh-rsa-shadow /etc/ssh
@@ -86,6 +86,7 @@
 			mv -f "$c/var/lib/misc/group.db.t" "$c/var/lib/misc/group.db"
 			ln -sf "$HOST/ssh_known_hosts" "$c/var/lib/misc/"
 			ln -sf ../../var/lib/misc/ssh_known_hosts "$c/etc/ssh"
+			ln -sf "$c/var/lib/misc/$HOST/forward-alias" "$c/var/lib/misc/"
 		fi
 	done
 fi



More information about the Da-tools-commits mailing list