6 if [ ! -f /opt/dbspace/.dnet.db ]
8 sqlite3 /opt/dbspace/.dnet.db < /tmp/dnet_db.sql
9 sqlite3 /opt/dbspace/.dnet.db < /tmp/dnet_db_data.sql
12 rm -f /tmp/dnet_db.sql
13 rm -f /tmp/dnet_db_data.sql
15 #Change File Permission
16 if [ -f /opt/dbspace/.dnet.db ]
18 chmod 600 /opt/dbspace/.dnet.db
21 if [ -f /opt/dbspace/.dnet.db-journal ]
23 chmod 644 /opt/dbspace/.dnet.db-journal