Add comskip and tvheadend

This commit is contained in:
moparisthebest
2016-11-05 21:22:44 -04:00
parent a10ef28c18
commit 5538c56e37
9 changed files with 243 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
HTS_USER=hts
HTS_UID=1337
HTS_GROUP=video
post_install() {
if ! getent passwd $HTS_USER &> /dev/null; then
useradd -u $HTS_UID -g $HTS_GROUP -m -s /bin/false $HTS_USER &> /dev/null
passwd -l $HTS_USER &> /dev/null
echo " ==> User '$HTS_USER' created"
fi
cat << 'EOM'
==> All configuration is maintained through the web interface:
==>
==> http://localhost:9981/
==>
==> Default login without username/password.
EOM
}
post_remove() {
userdel $HTS_USER &> /dev/null
echo " ==> User '$HTS_USER' removed"
}