#! /sbin/sh #Tag 0x00000f00 # GRIO control # "$Revision: 1.10 $" CONFIG=/etc/config case $1 in 'start') set `/sbin/who -r` if [ $9 = "S" ] then # # Terminate any running ggds. # killall ggd # # Start the label daemon # /sbin/suattr -C CAP_DEVICE_MGT+ip -c "/usr/sbin/ggd ""`cat $CONFIG/ggd.options 2> /dev/null`" & fi ;; 'stop') # # Shutdown the ggd daemon. # if /sbin/chkconfig verbose ; then echo "Shutting down GGD:" fi # Stop the label daemon killall ggd ;; *) echo "usage: /etc/init.d/grio {start|stop}" ;; esac