#!/bin/bash

PROGRAM=/usr/sbin/wshaper
RUNLEVEL=3
NEEDS="+remote_fs"

. /etc/init.d/smgl_init

start() {
  echo  "Starting Wonder Shaper..."
  ${PROGRAM}  start  &&
  evaluate_retval
}

stop() {
  echo  "Stopping Wonder Shaper..."
  ${PROGRAM}  stop  &&
  evaluate_retval
}

restart() {
  stop     &&
  sleep 1  &&
  start
}

status() {
  ${PROGRAM}  status
}
