#!/bin/bash

# startRouted
#
# Usage:
#    startRouted  
#
# Description:
#    This script starts the routed daemon for the console
#
# Module History
#    00  02/18/2004  T. Forties  - Initial Release
#    01  08/15/2005  TF  Start with -q parm, from /usr/sbin

# Dump out the process id of the routed daemon that is currently running
echo pidofproc /usr/sbin/routed
pidofproc /usr/sbin/routed

# stop the routed daemon (no harm if it's not running)
echo "/etc/init.d/routed stop"
/etc/init.d/routed stop

# start the routed daemon
echo "/usr/sbin/routed -q"
/usr/sbin/routed -q

# Dump out the process id of the routed daemon that we just started
echo pidofproc /usr/sbin/routed
pidofproc /usr/sbin/routed
