Re: pfile start script

This is a discussion on Re: pfile start script within the IPFilter forums, part of the System Security and Security Related category; --On Tuesday, July 06, 2004 12:05 AM +1000 Darren Reed <darrenr@reed.wattle.id.au> wrote: > ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-06-2004
Carson Gaspar
 
Posts: n/a
Default Re: pfile start script



--On Tuesday, July 06, 2004 12:05 AM +1000 Darren Reed
<darrenr@reed.wattle.id.au> wrote:

> In some email I received from Hans Werner Strube, sie wrote:
>> Carson Gaspar wrote:
>> > Or you can do it in (POSIX) shell:
>> >
>> > carson:gandalf 0 $ OIFS="${IFS}" IFS="${IFS}:"; ls hostname.* | while
>> > read intf alias; do if [ -z "${alias}" ]; then echo $intf; fi; done;
>> > IFS="${OIFS}"
>> > hostname.foo0

>>
>> Wouldn't the following simplification of S10pfil be sufficient?

>
> No. sed is in /usr/bin and /usr may not be mounted when S10pfil runs.


Which is why my example was in shell. And it avoids a fork/exec (always a
good thing to try and do).

--
Carson


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0