You've already forked mariadb-columnstore-engine
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:
@@ -172,8 +172,8 @@ fi
|
||||
touch $RCFILE
|
||||
|
||||
if [ $user != "root" ]; then
|
||||
echo "uncomment runuser in rc.local"
|
||||
sed -i -e 's/#MCS//g' /etc/rc.d/rc.local >/dev/null 2>&1
|
||||
echo "uncomment runuser in rc.local, amazon AMI"
|
||||
sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
echo "!!!Module Installation Successfully Completed!!!"
|
||||
|
@@ -1477,7 +1477,7 @@ int main(int argc, char* argv[])
|
||||
// setup to start on reboot, for non-root amazon installs
|
||||
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) )
|
||||
|
Reference in New Issue
Block a user