yavdr-ansible/roles/yavdr-common/templates/system-sleep_yavdr.j2

14 lines
226 B
Plaintext
Raw Normal View History

#!/bin/sh
{{ ansible_managed | comment }}
case $1 in
pre)
/bin/systemctl stop vdr
/usr/local/bin/module-helper -u dvb_core
;;
post)
/usr/local/bin/module-helper -r
/bin/systemctl start vdr
;;
esac