2 majorvers=`uname -r | sed 's/\..*//'`
3 echo "InstallationCheck: os release is $majorvers"
4 if [ $majorvers -ne 9 ]; then
5 echo "InstallationCheck: not ok"
9 # check for temporary versions of ThisCell and CellAlias
11 tmpthiscell=/private/tmp/org.OpenAFS.Install.ThisCell.$USER
12 tmpcellalias=/private/tmp/org.OpenAFS.Install.CellAlias.$USER
13 date=`date +%Y%m%d%H%M`
14 if [ -e $tmpthiscell ]; then
15 mv -f $tmpthiscell $tmpthiscell.$date
17 if [ -e $tmpcellalias ]; then
18 mv -f $tmpcellalias $tmpcellalias.$date
21 echo "InstallationCheck: ok"