mv cacheinfo.new cacheinfo
fi
+# if the installer plugin generated ThisCell and/or CellAlias
+# files, copy them in here
+tmpthiscell=/private/tmp/org.OpenAFS.Install.ThisCell.$USER
+tmpcellalias=/private/tmp/org.OpenAFS.Install.CellAlias.$USER
+if [ -f $tmpthiscell ]; then
+ cp $tmpthiscell ThisCell
+ rm -f $tmpthiscell
+fi
+if [ -f $tmpcellalias ]; then
+ cp $tmpcellalias CellAlias
+ rm -f $tmpcellalias
+fi
+
if [ ! -f ThisCell -a -f ThisCell.sample ]; then
cp ThisCell.sample ThisCell
fi
# turn off execution of afssettings
chmod a-x config/afssettings
fi
+
+# properly, we should acquire a certificate from a real CA and ship
+# signed binaries. for now, make Application Firewall (Security prefs pane)
+# happy like this. See TN2206
+if [ -f /usr/bin/codesign ]; then
+ codesign -s - /usr/sbin/afsd
+fi
+
+#here we should run tools which configure the client, and then if it's enabled:
+#start the new launchd daemon
+launchctl load -w /Library/LaunchDaemons/org.openafs.filesystems.afs.plist