Whamcloud - gitweb
LU-3289 gss: Interface and code changes for shared key
[fs/lustre-release.git] / lustre / scripts / lsvcgss
index 87c3b80..03d6233 100755 (executable)
 . /etc/init.d/functions
 
 LOCKFILE="/var/lock/subsys/lsvcgssd"
+LSVCGSSDARGS="-k"
+
+# Check for and source configuration file
+[ -f /etc/sysconfig/lsvcgss ] && . /etc/sysconfig/lsvcgss
 
 # See how we were called.
 case "$1" in
        start)
                echo $"Starting lsvcgssd"
-               /usr/sbin/lsvcgssd
+               /usr/sbin/lsvcgssd ${LSVCGSSDARGS}
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch $LOCKFILE
                ;;