Update and rename createdatabase.sh to prep.sh

This commit is contained in:
12nick12
2018-06-06 07:02:31 -04:00
committed by GitHub
parent 2af46c4b94
commit 0a039896aa

View File

@@ -1,2 +1,6 @@
dir=/opt/sshjump
username=sshjump
adduser $username
chmod -R $username:$username $dir
sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'