mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #712 from islipfd19/master
Rsyslog: add first run wizard configuration menu
This commit is contained in:
commit
7ebb0ec38c
@ -5,3 +5,6 @@
|
|||||||
- Add RELP Protocol
|
- Add RELP Protocol
|
||||||
- Add ability to compress messages using TCP/UDP protocols
|
- Add ability to compress messages using TCP/UDP protocols
|
||||||
- Update configuration files using newer standards
|
- Update configuration files using newer standards
|
||||||
|
|
||||||
|
8.0.102
|
||||||
|
- Add first run wizard configuration menu
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
PKG_NAME="rsyslog"
|
PKG_NAME="rsyslog"
|
||||||
PKG_VERSION="8.21.0"
|
PKG_VERSION="8.21.0"
|
||||||
PKG_REV="101"
|
PKG_REV="102"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/rsyslog"
|
PKG_SITE="https://github.com/rsyslog"
|
||||||
|
@ -20,6 +20,7 @@ import subprocess
|
|||||||
import xbmc
|
import xbmc
|
||||||
import xbmcaddon
|
import xbmcaddon
|
||||||
|
|
||||||
|
ADDON = xbmcaddon.Addon()
|
||||||
|
|
||||||
class Monitor(xbmc.Monitor):
|
class Monitor(xbmc.Monitor):
|
||||||
|
|
||||||
@ -32,4 +33,12 @@ class Monitor(xbmc.Monitor):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
|
if ADDON.getSetting('RSYSLOG_WIZARD') == 'true':
|
||||||
|
try:
|
||||||
|
ADDON.openSettings(id)
|
||||||
|
ADDON.setSetting('RSYSLOG_WIZARD', 'false')
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
Monitor().waitForAbort()
|
Monitor().waitForAbort()
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<setting id="RSYSLOG_MANUAL" value="false"/>
|
<setting id="RSYSLOG_MANUAL" value="false"/>
|
||||||
<setting id="RSYSLOG_PORT" value="514"/>
|
<setting id="RSYSLOG_PORT" value="514"/>
|
||||||
<setting id="RSYSLOG_PROTOCOL" value="UDP"/>
|
<setting id="RSYSLOG_PROTOCOL" value="UDP"/>
|
||||||
|
<setting id="RSYSLOG_WIZARD" value="true"/>
|
||||||
<setting id="RSYSLOG_ZLIB_COMPRESSION" value="false" />
|
<setting id="RSYSLOG_ZLIB_COMPRESSION" value="false" />
|
||||||
<setting id="RSYSLOG_ZLIB_COMPRESSION_LEVEL" value="0" />
|
<setting id="RSYSLOG_ZLIB_COMPRESSION_LEVEL" value="0" />
|
||||||
</settings>
|
</settings>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user