[Serusers] Doubt in serctl script

Jiri Kuthan jiri at iptel.org
Mon May 26 17:29:19 CEST 2003


"dul" was an outdated call to "delete user location", which cleared all
user contacts. I updated it on CVS to "ul rm". Thanks for reporting this.

-Jiri

At 09:47 PM 5/22/2003, Alejandro Olchik wrote:

>Looking at the serctl rm command the followin shell
>script is found:
>
>        rm)
>        if [ $# -ne 2 ] ; then
>            usage
>            exit 1
>        fi
>                shift
>                prompt_pw
>
>        is_user $1
>        if [ $? -ne 0 ] ; then
>            echo non-existent user
>            exit 1
>        fi
>
>                QUERY="delete from $TABLE where
>$TABLE.$SUBSCRIBER_COLUMN='$1'"
>                sql_query "$QUERY"
>
>                $0 acl revoke $1 > /dev/null 2>&1
>                $0 dul $1   > /dev/null 2>&1
>        ;;
>
>What does $0 dul $1... do?
>
>Anybody knows?
>
>
>Alejandro
>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers 

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list