1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

MCOL-520 - amazon changes

This commit is contained in:
David Hill
2018-10-26 14:42:44 -05:00
parent 42a328652b
commit a82b431ae6
2 changed files with 3 additions and 3 deletions

View File

@@ -172,8 +172,8 @@ fi
touch $RCFILE touch $RCFILE
if [ $user != "root" ]; then if [ $user != "root" ]; then
echo "uncomment runuser in rc.local" echo "uncomment runuser in rc.local, amazon AMI"
sed -i -e 's/#MCS//g' /etc/rc.d/rc.local >/dev/null 2>&1 sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1
fi fi
echo "!!!Module Installation Successfully Completed!!!" echo "!!!Module Installation Successfully Completed!!!"

View File

@@ -1477,7 +1477,7 @@ int main(int argc, char* argv[])
// setup to start on reboot, for non-root amazon installs // setup to start on reboot, for non-root amazon installs
if ( !rootUser ) if ( !rootUser )
{ {
system("sed -i -e 's/#MCS//g' /etc/rc.d/rc.local >/dev/null 2>&1"); system("sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
} }
if ( !writeConfig(sysConfig) ) if ( !writeConfig(sysConfig) )