Thanks

-Ober

On Thu, 13 Oct 2005, James Wright wrote:

Ok here is the first shot at this.
I tested it, and it appears to work.
However since I dont have a dedicated box for it just yet, it most likely
has some bugs.

Please review it before just running it.
It is most likely broken in some way that only testing will find.

http://www.linbsd.org/oafs_server_install_obsd.sh





This patch keeps runntp from being set on a machine already
running an ntpd.

btw how do you build openafs without patches on -current
since there isn't an extrattr.h?
--- oafs_server_install_obsd.sh.orig    Wed Oct 12 23:17:28 2005
+++ oafs_server_install_obsd.sh Wed Oct 12 23:16:55 2005
@@ -192,7 +192,9 @@
$VOS syncvldb $SERVER -cell $CELLNAME -verbose  -noauth
$VOS syncserv $SERVER -cell $CELLNAME -verbose  -noauth
$BOS create  $SERVER upserver simple   "$BINDIR/upserver  -crypt /usr/afs/etc    
-clear /usr/afs/bin" -cell $CELLNAME  -noauth
-$BOS create  $SERVER runntp simple  "$BINDIR/runntp -localclock"  -cell 
$CELLNAME  -noauth
+if ! pgrep ntpd>/dev/null; then
+       $BOS create  $SERVER runntp simple  "$BINDIR/runntp -localclock"  -cell 
$CELLNAME  -noauth
+fi
$FS setacl /afs system:anyuser rl
$VOS create  $SERVER /vicepa root.cell
$FS mkmount /afs/$CELLNAME  root.cell

Reply via email to