3 if [ ! -f /opt/dbspace/.bluetooth_trasnfer.db ]
5 sqlite3 /opt/dbspace/.bluetooth_trasnfer.db 'PRAGMA journal_mode = PERSIST;
6 create table if not exists inbound (
7 id INTEGER PRIMARY KEY autoincrement,
11 timestamp INTEGER default 0,
14 create table if not exists outbound (
15 id INTEGER PRIMARY KEY autoincrement,
19 timestamp INTEGER default 0,
26 if [ ${USER} == "root" ]
28 # Set vconf values with -g/-u options
30 # 5000 is inhouse user id
31 # do not use relative path
33 # For the FTP server folder
35 if [ ! -e /opt/share/bt-ftp/Media ]
37 ln -s /opt/media /opt/share/bt-ftp/Media
40 if [ ! -e /opt/share/bt-ftp/SD_External ]
42 ln -s /opt/storage/sdcard /opt/share/bt-ftp/SD_External
45 vconftool set -t bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i
47 chown :5000 /opt/dbspace/.bluetooth_trasnfer.db
48 chown :5000 /opt/dbspace/.bluetooth_trasnfer.db-journal
51 chmod 660 /opt/dbspace/.bluetooth_trasnfer.db
52 chmod 660 /opt/dbspace/.bluetooth_trasnfer.db-journal