You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	MCOL-520 - change to only do sudo change to rc.local for non-root amazon
This commit is contained in:
		@@ -1471,12 +1471,12 @@ int main(int argc, char* argv[])
 | 
			
		||||
                cout << "Check Amazon Install Documenation for additional information, exiting..." << endl;
 | 
			
		||||
                exit (1);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // setup to start on reboot, for non-root amazon installs
 | 
			
		||||
        if ( !rootUser )
 | 
			
		||||
        {
 | 
			
		||||
			system("sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
 | 
			
		||||
			// setup to start on reboot, for non-root amazon installs
 | 
			
		||||
			if ( !rootUser )
 | 
			
		||||
			{
 | 
			
		||||
				system("sudo 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