summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfmertz <fireboxled@gmail.com>2020-07-02 05:05:37 +0000
committerfmertz <fireboxled@gmail.com>2020-07-02 05:05:37 +0000
commit7bc4167d9520901c001e8d8a08d837e528b3de33 (patch)
tree1130370febb8944d2f4510ad2ded07f66b97281c
parent8e165496cf32f16acb182022d301360e78465a0b (diff)
downloadvyos-1x-7bc4167d9520901c001e8d8a08d837e528b3de33.tar.gz
vyos-1x-7bc4167d9520901c001e8d8a08d837e528b3de33.zip
system display: T2564: conf file in /run
* scripts/cli/test_system_display.py conf files in /run
-rwxr-xr-xscripts/cli/test_system_display.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cli/test_system_display.py b/scripts/cli/test_system_display.py
index 001d2d5ab..f9fb00aa5 100755
--- a/scripts/cli/test_system_display.py
+++ b/scripts/cli/test_system_display.py
@@ -84,7 +84,7 @@ class SystemDisplayTest(unittest.TestCase):
# load up ini-styled LCDd.conf
LCDd_conf = configparser.ConfigParser()
- LCDd_conf.read('/etc/LCDd.conf')
+ LCDd_conf.read('/run/LCDd/LCDd.lo.conf')
# Check settings made it into LCDd.conf
self.assertTrue(LCDd_conf['server']['Driver'] == 'hd44780')
@@ -104,7 +104,7 @@ class SystemDisplayTest(unittest.TestCase):
# load up ini-styled lcdproc.conf configuration file
lcdproc_conf = configparser.ConfigParser()
- lcdproc_conf.read('/etc/lcdproc.conf')
+ lcdproc_conf.read('/run/lcdproc/lcdproc.lo.conf')
# clock
self.assertTrue(lcdproc_conf['TimeDate']['Active'] == 'false')
self.assertTrue(lcdproc_conf['BigClock']['Active'] == 'true')