A free open source IT asset/license management system
Fix missing -p in mysql call on centos6.
Daniel Meltzer59521814549a
diff --git a/snipeit.sh b/snipeit.shindex 4721badd53..125793bf62 100755--- a/snipeit.sh+++ b/snipeit.sh@@ -213,7 +213,7 @@ case $distro inecho "Creating Mysql Database and User."echo "## Please Input your MySQL/MariaDB root password: "echo ""- sudo mysql -u root -p < $dbsetup+ mysql -u root -p < $dbsetupecho ""#Install / configure composer@@ -317,7 +317,7 @@ case $distro in/usr/bin/mysql_secure_installationecho "## Creating MySQL Database and user. "echo "## Please Input your MySQL/MariaDB root password: "- sudo mysql -u root -p < $dbsetup+ mysql -u root -p < $dbsetupecho "## Securing Mysql"@@ -397,7 +397,7 @@ case $distro inecho "## Creating MySQL Database/User."echo "## Please Input your MySQL/MariaDB root password: "- mysql -u root < $dbsetup+ mysql -u root -p < $dbsetup##TODO make sure the apachefile doesnt exhist isnt already in there#Create the new virtual host in Apache and enable rewrite