Date: Sat, 25 Mar 2000 23:34:58 -0600 From: David Kanter <djkanter@nwu.edu> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: "Sharing" a PPP link Message-ID: <20000325233458.A59509@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
I occasionally run into this problem: I'll be using the tun0 PPP link but then comes along a crontab script that wants to use it too. The crontab script fails because the "Device is busy." Here's a typical script: #!/bin/sh # Configuration variables. fetchmail=/usr/local/bin/fetchmail sendmail=/usr/sbin/sendmail #---------------------------------------------------------------------------- # Make sure that all files will be readable by others umask 022 if /home/david/bin/pon; then $fetchmail $sendmail -q /home/david/bin/poff else exit 1 fi Is there something I can do so that, if the tun0 is being used, the crontab script won't complain and will still be able to run? Should I change the exit 1? -- David Kanter djkanter@nwu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000325233458.A59509>