summaryrefslogtreecommitdiff
path: root/scripts/fast_populate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fast_populate.sh')
-rw-r--r--scripts/fast_populate.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/fast_populate.sh b/scripts/fast_populate.sh
new file mode 100644
index 0000000..ab83ab7
--- /dev/null
+++ b/scripts/fast_populate.sh
@@ -0,0 +1,8 @@
+echo "use sudo? [y/n]"
+read answer
+
+if [[ $answer == 'y' ]] then
+ sudo="sudo"
+fi
+
+$sudo mariadb -u root < ./scripts/fast_populate.sql