what this supposed to do?
run 'smsagent.pl 2' redirecting stdout to /dev/null and background?

or run 'smsagent.pl' redirecting stderr and stdout to /dev/null and backgroud?

for #2 it should be then
smsagent.pl >/dev/null 2>&1 &

in anycase 2&1 construct is just weird.

On Friday 03 June 2005 23:46, dzeus wrote:
> Author: dzeus                        Date: Fri Jun  3 20:46:36 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - typo

> --- SOURCES/asa.sh:1.1        Wed Feb 16 00:57:50 2005
> +++ SOURCES/asa.sh    Fri Jun  3 22:46:31 2005
> @@ -1,3 +1,2 @@
>  #!/bin/sh
> -su -f -m jabber -c /usr/sbin/ApaSMSAgent.pl 2>1 > /dev/null &
> -
> +su -f -m jabber -c /usr/sbin/ApaSMSAgent.pl 2&1> /dev/null &

-- 
glen
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to