#! /bin/bash
### Configure

RUNLEVELCONF=/var/service/runlevelconf

### End configure
if [ ! -d $RUNLEVELCONF ]; then
    echo "$(basename $0): $RUNLEVELCONF does not exist"
    exit 2
else
    cd $RUNLEVELCONF
fi

if [ ! -f rlc.functions ]; then
    echo "$(basename $0): Cannot find rlc.functions"
    exit 2    
else
    . ./rlc.functions
fi

if [ $# = 0 ]; then
    help "runlevel(s|k)"
    exit
fi

directive_syntax $1

if [ $# -gt 0 ]; then
   help $1
fi
