From 624756cdcfc2b8332b2fd1f22f3c177bedb94218 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 12 Jan 2017 15:21:26 +0100 Subject: [PATCH] post install update to config for changes in 0.10.10 See: https://github.com/Doodle3D/print3d/issues/48 --- post-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/post-install.sh b/post-install.sh index 1e20973..9ba6358 100644 --- a/post-install.sh +++ b/post-install.sh @@ -138,6 +138,11 @@ else uci set wifibox.general.system_log_level='info' uci -q delete wifibox.system.loglevel # remove key used in older versions (<=0.10.8a) if it exists + # update wifibox's config for config changes in 0.10.10 + uci set wifibox.system.log_path='/tmp' + uci set wifibox.system.api_log_filename='wifibox.log' + uci set wifibox.system.p3d_log_basename='print3d' + crontab -l 2> /dev/null | grep logrotate\.conf > /dev/null if [ $? -ne 0 ]; then # add line, method from http://askubuntu.com/a/58582