Send PLUG-discuss mailing list submissions to plug-discuss@lists.plug.phoenix.az.us To subscribe or unsubscribe via the World Wide Web, visit http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss or, via email, send a message with subject or body 'help' to plug-discuss-request@lists.plug.phoenix.az.us You can reach the person managing the list at plug-discuss-admin@lists.plug.phoenix.az.us When replying, please edit your Subject line so it is more specific than "Re: Contents of PLUG-discuss digest..." Today's Topics: 1. Re: another openbsd -> ppp (Jeremy C. Reed) --__--__-- Message: 1 Date: Mon, 30 Jun 2003 11:10:49 -0700 (PDT) From: "Jeremy C. Reed" To: plug Subject: Re: another openbsd -> ppp Reply-To: plug-discuss@lists.plug.phoenix.az.us On Mon, 30 Jun 2003, Mike Starke wrote: > And disconnecting is as easy as > 'poff' > Now, I do not know how to disconnect without > killing the process. Certainly there is a more > gracefull way than 'kill '? Have a look at that poff script. Basically it does: /bin/kill -TERM `pidof pppd` pidof can be done like: ps axc -o pid,command | awk "\$2~/^`echo $1`\$/ {print \$1}" That poff script is so short you could rewrite (with a friendlier license). (Or choose to just use it on your BSD box.) Jeremy C. Reed http://bsd.reedmedia.net/ --__--__-- _______________________________________________ PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss End of PLUG-discuss Digest _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail