summaryrefslogtreecommitdiffstats
path: root/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cfg')
-rw-r--r--cfg/ogclient.cfg15
-rw-r--r--cfg/ogclient.json19
2 files changed, 19 insertions, 15 deletions
diff --git a/cfg/ogclient.cfg b/cfg/ogclient.cfg
deleted file mode 100644
index 634382d..0000000
--- a/cfg/ogclient.cfg
+++ /dev/null
@@ -1,15 +0,0 @@
-[opengnsys]
-ip=127.0.0.1
-url=https://127.0.0.1/opengnsys/varios/menubrowser.php
-url_log=http://localhost/cgi-bin/httpd-log.sh
-port=8889
-# Log Level, if ommited, will be set to INFO
-log=DEBUG
-# Supported modes are 'virtual' and 'linux'
-mode=linux
-
-# User and password for all samba repositories. This user requires read and
-# write permission.
-[samba]
-user=opengnsys
-pass=og
diff --git a/cfg/ogclient.json b/cfg/ogclient.json
new file mode 100644
index 0000000..047ec6d
--- /dev/null
+++ b/cfg/ogclient.json
@@ -0,0 +1,19 @@
+{
+ "opengnsys": {
+ "ip": "127.0.0.1",
+ "port": 8889,
+ "log": "DEBUG",
+ "mode": "linux",
+ "url": "https://127.0.0.1/opengnsys/varios/menubrowser.php",
+ "url_log": "http://localhost/cgi-bin/httpd-log.sh"
+ },
+ "samba": {
+ "activate": true
+ "user": "opengnsys",
+ "pass": "og"
+ },
+ "vnc": {
+ "activate": true,
+ "pass": "ogvnc"
+ }
+}