Ignore:
Timestamp:
Jul 12, 2008, 9:27:44 PM (16 years ago)
Author:
geofft
Message:
Add more sysnames to differentiate between OS releases, and add the "scripts"
sysname at the very end to permit @sys hacks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/config/etc/sysconfig/openafs

    r708 r777  
    55        /sbin/sysctl -q afs.GCPAGs=0
    66        /usr/bin/fs setcrypt on
    7         /usr/bin/fs sysname 'amd64_linux26' 'i386_rhel4' 'i386_rhel3' 'i386_rh9' 'i386_linux24' 'i386_linux22' 'i386_linux3' 'i386_linux2' 'i386_linux1'
     7        case "$(lsb_release -cs)" in
     8          Moonshine)
     9            /usr/bin/fs sysname 'amd64_fedora7_scripts' 'amd64_fedora7' 'amd64_linux26' 'i386_rhel4' 'i386_rhel3' 'i386_rh9' 'i386_linux26' 'i386_linux24' 'i386_linux22' 'i386_linux3' 'i386_linux2' 'i386_linux1' 'scripts' ;;
     10          Sulphur)
     11            /usr/bin/fs sysname 'amd64_fedora9_scripts' 'amd64_fedora9' 'amd64_linux26' 'amd64_fedora7' 'i386_rhel4' 'i386_rhel3' 'i386_rh9' 'i386_linux26' 'i386_linux24' 'i386_linux22' 'i386_linux3' 'i386_linux3' 'i386_linux2' 'i386_linux1' 'scripts' ;;
     12          *)
     13            echo "Warning: unknown platform. AFS sysname not set."
     14        esac
    815        /usr/bin/fs setcell -nosuid -c athena
    916}
Note: See TracChangeset for help on using the changeset viewer.