root/trunk/source/openafs-conf-update/postinstall

Revision 96, 462 bytes (checked in by broder, 17 years ago)

Built package to install my patch to OpenAFS

Line 
1 #!/bin/bash
2
3 cd /var/db/openafs/etc
4
5 rm -f config/afsd.options.old
6 echo '-afsdb -stat 2000 -dcache 800 -daemons 3 -volumes 70 -dynroot -fakestat-all' > config/afsd.options.old
7 if cmp -s config/afsd.options.old config/afsd.options ; then
8         rm -f config/afsd.options
9 fi
10 rm -f config/afsd.options.broken
11
12 if [ ! -f config/afs.conf -a -f config/afs.conf.sample ]; then
13         cp config/afs.conf.sample config/afs.conf
14 fi
15
16 sudo /Library/StartupItems/OpenAFS/OpenAFS restart
Note: See TracBrowser for help on using the browser.