mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
thermald: allow conf file
Check for and source a conf file in thermald's run file to allow custom options. Get rid of an excess 2>&1 redirection since the script starts with exec 2>&1 already.
This commit is contained in:
parent
61001e8da7
commit
c0eefb292f
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
sv check dbus >/dev/null || exit 1
|
sv check dbus >/dev/null || exit 1
|
||||||
exec thermald --no-daemon --dbus-enable 2>&1
|
[ -r conf ] && . ./conf
|
||||||
|
exec thermald ${OPTS:=--no-daemon --dbus-enable}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'thermald'
|
# Template file for 'thermald'
|
||||||
pkgname=thermald
|
pkgname=thermald
|
||||||
version=2.5.8
|
version=2.5.8
|
||||||
revision=1
|
revision=2
|
||||||
archs="i686* x86_64*"
|
archs="i686* x86_64*"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake pkg-config glib-devel gtk-doc autoconf-archive"
|
hostmakedepends="automake pkg-config glib-devel gtk-doc autoconf-archive"
|
||||||
|
|
Loading…
Add table
Reference in a new issue