add /mnt/share
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Oct 2018 12:55:54 +0000 (14:55 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Oct 2018 12:55:54 +0000 (14:55 +0200)
ffzg_inventura.sql [new file with mode: 0644]
install.sh [new file with mode: 0644]

diff --git a/ffzg_inventura.sql b/ffzg_inventura.sql
new file mode 100644 (file)
index 0000000..e67a31c
--- /dev/null
@@ -0,0 +1,6 @@
+create table ffzg_inventura (
+       date_scanned date not null,
+       barcode varchar(20) not null,
+       source_id varchar(20) not null,
+       unique key ffzg_inventura_unique (barcode,date_scanned,source_id)
+); 
diff --git a/install.sh b/install.sh
new file mode 100644 (file)
index 0000000..5b473c6
--- /dev/null
@@ -0,0 +1,3 @@
+apt-get install cifs-utils
+mkdir /mnt/share
+echo '//10.60.1.101/share      /mnt/share      cifs    user=share,pass=share,noauto,vers=1.0   0 0' >> /etc/fstab