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
@ -801,10 +801,12 @@ case $1 in
|
||||
;;
|
||||
post)
|
||||
# reload rc-core keytables
|
||||
[ -x /usr/bin/ir-keytable ] && {
|
||||
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
||||
do
|
||||
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
||||
done
|
||||
}
|
||||
|
||||
/usr/local/bin/module-helper -r
|
||||
/bin/systemctl start vdr
|
||||
|
@ -8,10 +8,12 @@ case $1 in
|
||||
;;
|
||||
post)
|
||||
# reload rc-core keytables
|
||||
[ -x /usr/bin/ir-keytable ] && {
|
||||
for remote in $(ir-keytable 2>&1 | grep rc/rc | egrep -o "rc[0-9]{1,}")
|
||||
do
|
||||
ir-keytable -a /etc/rc_maps.cfg --sysdev $remote
|
||||
done
|
||||
}
|
||||
|
||||
/usr/local/bin/module-helper -r
|
||||
/bin/systemctl start vdr
|
||||
|
Loading…
Reference in New Issue
Block a user