Garrett Cooper wrote:
Hello again all,
Just making a series of sh scripts to help automate updating and
whatnot of my fileserver (since I am trying to avoid having mistakes
occur with my system, and maybe help the community out a bit by
providing some decent means of updating their own mac
On Tue, 11 Apr 2006, [EMAIL PROTECTED] wrote:
> On Mon, 10 Apr 2006 22:30:32 -0700 Garrett Cooper wrote (my brief response
> follows all of his text):
>
> Just making a series of sh scripts to help automate updating and
> whatnot of my fileserver (since I am trying to avoid having mistake
On Mon, 10 Apr 2006 22:30:32 -0700 Garrett Cooper wrote (my brief response
follows all of his text):
Just making a series of sh scripts to help automate updating and
whatnot of my fileserver (since I am trying to avoid having mistakes
occur with my system, and maybe help the community out
in message <[EMAIL PROTECTED]>,
wrote Garrett Cooper thusly...
>
> I was wondering if anyone could help me out with the following
> script I've developing (the grep if statements are incorrect..):
>
> #!/bin/sh
> #
>
> KC="";
>
> cd /usr/src;
>
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ]
On Tuesday 11 April 2006 06:30, Garrett Cooper wrote:
> cd /usr/src;
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for
> KERNCONF in /etc/make.conf
if [ `make -V KERNCONF` ]
> read KERNCONF;
> KC="KERNCONF=$KERNCONF";
> fi
You need to check that KC actually e