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