Run ir-keytable only if installed
This commit is contained in:
parent
7dd080e9e7
commit
1622bbd6e6
8148
Manual.html
8148
Manual.html
File diff suppressed because it is too large
Load Diff
10
Manual.org
10
Manual.org
@ -801,10 +801,12 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
post)
|
post)
|
||||||
# reload rc-core keytables
|
# reload rc-core keytables
|
||||||
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
[ -x /usr/bin/ir-keytable ] && {
|
||||||
do
|
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
||||||
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
do
|
||||||
done
|
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
/usr/local/bin/module-helper -r
|
/usr/local/bin/module-helper -r
|
||||||
/bin/systemctl start vdr
|
/bin/systemctl start vdr
|
||||||
|
@ -8,10 +8,12 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
post)
|
post)
|
||||||
# reload rc-core keytables
|
# reload rc-core keytables
|
||||||
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
[ -x /usr/bin/ir-keytable ] && {
|
||||||
do
|
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
||||||
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
do
|
||||||
done
|
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
/usr/local/bin/module-helper -r
|
/usr/local/bin/module-helper -r
|
||||||
/bin/systemctl start vdr
|
/bin/systemctl start vdr
|
||||||
|
Loading…
Reference in New Issue
Block a user