/********************************************************/
//root is the default preset admin
INSERT INTO admins (email)
- VALUES ('root@$DOMAINNAME');
+ VALUES (ROOTDOMAINNAME);
//inserting the mail account
INSERT INTO emails (email,password)
- VALUES ('root','$RPASS');
+ VALUES ('root',RPASS);
echo "#--------------- Set Preset value ---------------" >> $SQLLOG
cpp -P -D$DB_TYPE \
-DDOMAINNAME=\'$DOMAINNAME\' \
+ -DROOTDOMAIN=\'root@$DOMAINAME\' \
-DRPASS=\'$RPASS\' \
/usr/share/$APPNAME/sql/preset.sql | tee -a $SQLLOG | $MSQL
echo "#--------------- Init Process Completed ---------" >> $SQLLOG