diff --git a/CHANGELOG.md b/CHANGELOG.md
index e934032..d57d0b2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [3.6.0] - 2025-05-21
+
+### Changed
+
+- Configure stunnel and dbus via includes rather than in python code
+
+### Added
+
+- Add script for changing the URL in the running browser
+
## [3.5.0] - 2025-05-19
### Changed
diff --git a/chroot-tasks.py b/chroot-tasks.py
index faf7fdc..afd721a 100755
--- a/chroot-tasks.py
+++ b/chroot-tasks.py
@@ -108,37 +108,6 @@ def updateCaCertificates():
print ('Updating CA trust Store', file=sys.stderr)
utils.run (['update-ca-certificates'])
-def configure_stunnel():
- print ('configure_stunnel', file=sys.stderr)
- with open ('/etc/stunnel/menu.conf', 'w') as fd:
- fd.write ('setuid = stunnel4\n')
- fd.write ('setgid = stunnel4\n')
- fd.write ('pid = /var/run/stunnel4/menu.pid\n')
- fd.write ('foreground = yes\n')
- fd.write ('debug = info\n')
- fd.write ('\n')
- fd.write ('[menu]\n')
- fd.write ('client = yes\n')
- fd.write ('accept = 127.0.0.1:81\n')
- fd.write ('connect = __OGCORE_IP__:__OGCORE_PORT__\n')
- fd.write ('cert = /opt/opengnsys/etc/ogagent.crt\n')
- fd.write ('key = /opt/opengnsys/etc/ogagent.key\n')
- fd.write ('CAfile = /opt/opengnsys/etc/ca.crt\n')
- fd.write ('requireCert = yes\n')
- fd.write ('verifyChain = yes\n')
-
-def configure_dbus():
- print ('configure_dbus', file=sys.stderr)
- with open ('/etc/dbus-1/system.d/ogbrowser.conf', 'w') as fd:
- fd.write ('\n')
- fd.write (' \n')
- fd.write (' \n')
- fd.write (' \n')
- fd.write (' \n')
- fd.write (' \n')
- fd.write (' \n')
- fd.write ('\n')
-
def boottoolsPythonModules():
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
@@ -195,7 +164,5 @@ if __name__ == '__main__':
boottoolsSoftwareCompile()
boottoolsPythonModules()
boottoolsRemovePackages()
- configure_stunnel()
- configure_dbus()
setup_resolvconf() ## do this again, since someone seems to be overwriting the file
boottoolsInitrdGenerate (args.osrelease)
diff --git a/includes/etc/dbus-1/system.d/ogbrowser.conf b/includes/etc/dbus-1/system.d/ogbrowser.conf
new file mode 100644
index 0000000..03cd6f8
--- /dev/null
+++ b/includes/etc/dbus-1/system.d/ogbrowser.conf
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/includes/etc/initramfs-tools/scripts/VERSION.txt b/includes/etc/initramfs-tools/scripts/VERSION.txt
index a04b4c7..38aae09 100644
--- a/includes/etc/initramfs-tools/scripts/VERSION.txt
+++ b/includes/etc/initramfs-tools/scripts/VERSION.txt
@@ -1 +1 @@
-OpenGnsys Client 3.5.0
+OpenGnsys Client 3.6.0
diff --git a/includes/etc/stunnel/menu.conf b/includes/etc/stunnel/menu.conf
new file mode 100644
index 0000000..d6afe49
--- /dev/null
+++ b/includes/etc/stunnel/menu.conf
@@ -0,0 +1,15 @@
+setuid = stunnel4
+setgid = stunnel4
+pid = /var/run/stunnel4/menu.pid
+foreground = yes
+debug = info
+
+[menu]
+client = yes
+accept = 127.0.0.1:81
+connect = __OGCORE_IP__:__OGCORE_PORT__
+cert = /opt/opengnsys/etc/ogagent.crt
+key = /opt/opengnsys/etc/ogagent.key
+CAfile = /opt/opengnsys/etc/ca.crt
+requireCert = yes
+verifyChain = yes
diff --git a/includes/usr/bin/setURL.py b/includes/usr/bin/setURL.py
new file mode 100644
index 0000000..afccfbf
--- /dev/null
+++ b/includes/usr/bin/setURL.py
@@ -0,0 +1,20 @@
+#!/usr/bin/python3
+
+import sys
+import dbus
+
+if 2 != len(sys.argv):
+ sys.exit (1)
+
+dest = 'es.opengnsys.OGBrowser.browser'
+path = '/'
+interface = None
+method = 'setURL'
+signature = 's'
+url = sys.argv[1]
+
+b = dbus.SystemBus()
+try:
+ b.call_blocking (dest, path, interface, method, 's', [url])
+except Exception as e:
+ sys.exit (1)