correct issue with trc6500-webconfig package installation
authorLaurent Mazet <laurent.mazet@thalesgroup.com>
Tue, 15 Sep 2015 10:41:21 +0000 (12:41 +0200)
committerLaurent Mazet <laurent.mazet@thalesgroup.com>
Tue, 15 Sep 2015 10:41:21 +0000 (12:41 +0200)
master/etc/default/webconfig [deleted file]
trc6500-master-file/debian/debian-postinst

diff --git a/master/etc/default/webconfig b/master/etc/default/webconfig
deleted file mode 100644 (file)
index 117fe7d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Weconfig configure options
-
-# Should webconfig be enabled?
-#ENABLED=1
-
-# ALIASES: filename containing form declaration
-#ALIASES=/etc/webconfig/aliases.csv
-
-# PORT: server port
-PORT=8080
index 4d212a3306f1a3e3065c07b254839ed02e2ad0ad..8ca6a169a696cd2ab598f7f45367d48e902c03e9 100755 (executable)
@@ -50,6 +50,10 @@ chmod a+rwx  /opt/tftp
 echo "">/var/log/atftpd.log
 chown nobody /var/log/atftpd.log
 
+# solve an issue with old trc6500-webconfig
+touch /var/cache/webconfig/snmp.tree
+chown webconfig: /var/cache/webconfig/snmp.tree
+
 update-initramfs -u
 
 cd /opt/cluster