From owner-freebsd-questions Fri Apr 24 02:27:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA04278 for freebsd-questions-outgoing; Fri, 24 Apr 1998 02:27:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mutsgo.dyn.ml.org (root@dal37-10.ppp.iadfw.net [206.66.14.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA04217 for ; Fri, 24 Apr 1998 02:26:57 -0700 (PDT) (envelope-from vagner@mutsgo.dyn.ml.org) Received: (from root@localhost) by mutsgo.dyn.ml.org (8.8.8/8.8.7) id EAA03231 for questions@freebsd.org; Fri, 24 Apr 1998 04:26:52 -0500 (CDT) (envelope-from vagner) From: laszlo vagner Message-Id: <199804240926.EAA03231@mutsgo.dyn.ml.org> Subject: fetch and kill To: questions@FreeBSD.ORG Date: Fri, 24 Apr 1998 04:26:51 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ok i have been experimenting with "if" and here is what i cam up with that successfully echoes to the screen but now i need a command to killall ppp and restart it. if fetch http://www.airmail.net/index.html then (echo success retreival no action taken) else (echo killing ppp and restarting it) fi can i just put "killall ppp \n ppp -auto -alias pmdemand \n" or how do i make the returns ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message