On Tue, 3 Apr 2001, Xavier Bertou wrote:

> > if [ "$SECURE_TMP" = "yes" -o "$SECURE_TMP" = "1" -o "$SECURE_TMP" = "YES"
> > -o "$SECURE_TMP" > 3 ];then
> >
> > and I changed it to:
> >
> > if [ "$SECURE_TMP" = "yes" -o "$SECURE_TMP" = "1" -o "$SECURE_TMP" = "YES"
> > ];then
> >
> > not sure if this is correct, but now I don't get the "3" file showing up any
> > more.
>
> You should use:
> if [ "$SECURE_TMP" = "yes" -o "$SECURE_TMP" = "1" -o "$SECURE_TMP" = "YES"
> -o "$SECURE_TMP" -gt 3 ];then

Nope.

if [ "$SECURE_TMP" = "yes" -o "$SECURE_TMP" = "1" -o "$SECURE_TMP" = "YES"
-o "$SECURITY" -gt 3 ];then

The SECURITY variable must be set in /etc/sysconfig/system, or else the
test will generate an error.

seb


Reply via email to