Skip to content

Commit

Permalink
deb: use init script to be more compatible to systemd/upstart in back…
Browse files Browse the repository at this point in the history
…ports
  • Loading branch information
Mario Limonciello committed Apr 13, 2016
1 parent 7b265bc commit 8bfdc9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deb/debian/mythtv-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ if [ "$IGNORE_NOT" = "0" ]; then
if [ "$CLOSE_NOT" = "0" ]; then
if [ -n "$RUNNING" ]; then
if [ "$DE" = "kde" ]; then
$SU_TYPE stop mythtv-backend
$SU_TYPE /etc/init.d/mythtv-backend stop
else
$SU_TYPE stop mythtv-backend --message "Please enter your current login password to stop mythtv-backend."
$SU_TYPE /etc/init.d/mythtv-backend stop --message "Please enter your current login password to stop mythtv-backend."
fi
fi
xterm -title "MythTV Setup Terminal" -e taskset -c 0 /usr/bin/mythtv-setup.real --syslog local7 "$@"
Expand All @@ -63,9 +63,9 @@ if [ "$IGNORE_NOT" = "0" ]; then
fi
if [ "$START_NOT" = "0" ]; then
if [ "$DE" = "kde" ]; then
$SU_TYPE start mythtv-backend
$SU_TYPE /etc/init.d/mythtv-backend start
else
$SU_TYPE start mythtv-backend --message "Please enter your current login password to start mythtv-backend."
$SU_TYPE /etc/init.d/mythtv-backend start --message "Please enter your current login password to start mythtv-backend."
fi
fi
dialog_question "Fill Database?" "Would you like to run mythfilldatabase?"
Expand Down

0 comments on commit 8bfdc9d

Please sign in to comment.