View Full Version : user_create_post.sh according to reseller name
rocoso
01-03-2011, 09:33 AM
Is there anyway to make user_create_post.sh only work according to reseller name or package name?
I tried the follow with now success.
if [ "$package" = "packagename" ]; then
zEitEr
01-03-2011, 09:41 AM
Check $creator with reseller name in the script.
rocoso
01-03-2011, 10:48 AM
thanks but how would i do that?
I know that $creator = reseller
I want the script to only run for a particular reseller.
zEitEr
01-03-2011, 10:56 AM
if [ "$creator" = "resellername" ]; then
{
# your code here
}
fi;
rocoso
01-03-2011, 11:13 AM
THANKS that works!! For some reason when i tried that it didn't work before... guess i had something wrong.. :D
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.