From owner-freebsd-questions Sat Mar 25 21:35:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hecky.it.northwestern.edu (hecky.acns.nwu.edu [129.105.16.51]) by hub.freebsd.org (Postfix) with ESMTP id 2EA3C37B90D for ; Sat, 25 Mar 2000 21:35:28 -0800 (PST) (envelope-from djkanter@nwu.edu) Received: (from mailnull@localhost) by hecky.it.northwestern.edu (8.8.7/8.8.7) id XAA21321 for ; Sat, 25 Mar 2000 23:35:27 -0600 (CST) Received: from localhost.localdomain (coconut-27-028047.nuts.nwu.edu [165.124.28.47]) by hecky.acns.nwu.edu via smap (V2.0) id xma021302; Sat, 25 Mar 00 23:35:10 -0600 Received: (from david@localhost) by localhost.localdomain (8.9.3/8.9.3) id XAA60115 for freebsd-questions@freebsd.org; Sat, 25 Mar 2000 23:34:59 -0600 (CST) (envelope-from david) Date: Sat, 25 Mar 2000 23:34:58 -0600 From: David Kanter To: FreeBSD questions Subject: "Sharing" a PPP link Message-ID: <20000325233458.A59509@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Organization: Northwestern University X-Operating-System: FreeBSD localhost.localdomain 3.4-STABLE FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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