Re: How to call system command



On Mon, Oct 23, 2000 at 01:08:24AM +0200, Timur I. Bakeyev wrote:
[...snip...]
> Also, I suspect, that Alan Cox(maybe, someone heard this name :)
> implemented such tool with GTK year(s) ago... And, at least, something
> similar I've seen on tucows So, just take a look, will not it happen,
> that you duplicating existing tools ;)

gnome-lokkit (the script I think Timur was referring to) does it by
writing out the various ipchains commands to a file and then using
system() to run "/sbin/ipchains -F <scriptname>".

Cheers,
Malcolm

-- 
Malcolm Tredinnick            email: malcolm commsecure com au
CommSecure Pty Ltd




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]