summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-30 19:30:00 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-30 19:30:00 (GMT)
commitcf6753486785d45f571d06749dd85c73dcb20756 (patch)
tree95e751589d20b3bcc0c48e42995c642dab3bc931
parent64f781e502051636a295be327cea16e720455c07 (diff)
downloadlinhes_pkgbuild-cf6753486785d45f571d06749dd85c73dcb20756.zip
linhes_pkgbuild-cf6753486785d45f571d06749dd85c73dcb20756.tar.gz
linhes_pkgbuild-cf6753486785d45f571d06749dd85c73dcb20756.tar.bz2
linhes-templates: modify custom.sql
-rw-r--r--linhes/linhes-templates/PKGBUILD4
-rw-r--r--linhes/linhes-templates/templates/db/custom.sql21
2 files changed, 9 insertions, 16 deletions
diff --git a/linhes/linhes-templates/PKGBUILD b/linhes/linhes-templates/PKGBUILD
index 65abf49..384f590 100644
--- a/linhes/linhes-templates/PKGBUILD
+++ b/linhes/linhes-templates/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=linhes-templates
pkgver=9.0.0
-pkgrel=9
+pkgrel=10
conflicts=()
pkgdesc="Templates used for LinHES system configuration"
depends=()
makedepends=()
arch=('x86_64')
source=(templates.tar.gz)
-sha256sums=('1eb6d7a26aab77e6e822db9f00dd621a45754085cc81d4790729f7a9007cfdea')
+sha256sums=('24f40b4b4db356af745688412fc658a0a15aa698c8bbbb4b570f8688e02a437e')
package() {
MVDIR=$pkgdir/usr/share/linhes
diff --git a/linhes/linhes-templates/templates/db/custom.sql b/linhes/linhes-templates/templates/db/custom.sql
index 1f91bae..9be8ab0 100644
--- a/linhes/linhes-templates/templates/db/custom.sql
+++ b/linhes/linhes-templates/templates/db/custom.sql
@@ -1,9 +1,3 @@
---
-DELETE FROM `settings` where `value`='HostMyhostname';
---
-INSERT INTO `settings` (`value`,`data`,`hostname`) VALUES ('HostMyhostname','type_hostname_here','apheleia');
---
-
-- Clear out old values because mysql is mysql
DELETE from settings where value in
(
@@ -25,7 +19,7 @@ INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
('BackendServerIP6' ,'::1' , 'apheleia'),
('HaltCommand' ,'sudo /sbin/halt' , 'apheleia'),
('RebootCommand' ,'sudo /sbin/reboot' , 'apheleia'),
- ('Theme' ,'LinHES' , 'apheleia'),
+ ('Theme' ,'LinHES' , 'apheleia');
--
--INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
@@ -53,6 +47,7 @@ INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
-- /myth based storage groups are obsolete, add_storage.py will create the ones it needs.
+-- putting in artwork ones on disk0
INSERT INTO `storagegroup` (`groupname`, `hostname`, `dirname`) VALUES
-- ('Default' ,'apheleia' ,'/myth/tv/'),
-- ('LiveTV' ,'apheleia' ,'/myth/tv/live/'),
@@ -113,17 +108,15 @@ INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
('UserJobDesc4','','apheleia');
--
-
-
INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
('MiscStatusScript','/usr/bin/misc_status_info.sh','apheleia');
--UPDATE `keybindings` set `keylist` = "Alt+Esc" WHERE `action` = 'EXITPROMPT' ;
--- Add a dummy tuner so BE will at least start
-INSERT INTO `capturecard` (`videodevice`,`cardtype`,`defaultinput`,`hostname`,`sourceid`) VALUES
-('file://tmp/demo.mpg' , 'DEMO', 'Television', 'apheleia', '1');
+-- Add a dummy tuner and videosource so BE will at least start
+INSERT INTO `capturecard` (`videodevice`,`cardtype`,`defaultinput`,`hostname`) VALUES
+('file://tmp/demo.mpg' , 'DEMO', 'Television', 'apheleia');
-INSERT INTO `videosource` (`name`, `xmltvgrabber`) VALUES
-('DEMO_VIDEO_SOURCE' , '/bin/true');
+--INSERT INTO `videosource` (`name`, `xmltvgrabber`) VALUES
+--('DEMO_VIDEO_SOURCE' , '/bin/true');