Hi

I have installed diald and it works except when the linux box boot.

I am using the  script below  to start diald under init process.
If I kill the first diald process and then start another instance of diald
it
works.

The first diald processes is exectuing but it will not dial.

Any help apreeciated

Thanks


Klas Sehlstedt




#!/bin/sh
#
# diald         This shell script takes care of starting and stopping
#               diald (demand dialing daemon).
#

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

[ -f /usr/sbin/diald ] || exit 0

[ -f /etc/diald.conf ] || exit 0

# See how we were called.
echo Running $0
echo $PATH

# Save path to old path
export OLDPATH=$PATH

#Set up path to avoid execute problems, This doesn't help
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin


case "$1" in
  start)
        # Start daemons.
        echo -n "Starting diald: "
        daemon diald
        echo
        ;;
  stop)
        # Stop daemons.
        echo -n "Shutting down diald: "
 killproc diald
 export PATH=$OLDPATH
        echo
        ;;
  *)
 export PATH=$OLDPATH
        echo "Usage: diald {start|stop}"
        exit 1
esac

# jsut to be safe restore the old path
export PATH=$OLDPATH

exit 0






-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to