From eae08845d199ff31af0218b5ca07f08ff24ffa3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 18:45:57 +0200 Subject: Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned --- debian/changelog | 2 ++ debian/sane-utils.saned.default | 4 ---- debian/sane-utils.saned.init | 5 ----- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 06dd5b5..ca80e8f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium - Change debian/compat to 11. - Bump minimum debhelper version in debian/control to >= 11. * Declare compliance with Debian Policy 4.1.3 (No changes needed). + * Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned + in relation to Debian Policy Manual section 9.3.3.1. -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/sane-utils.saned.default b/debian/sane-utils.saned.default index b0647cc..691e5a5 100644 --- a/debian/sane-utils.saned.default +++ b/debian/sane-utils.saned.default @@ -1,8 +1,4 @@ # Defaults for the saned initscript, from sane-utils -# To enable under systemd please read README.Debian -# Set to yes to start saned under SysV -RUN=no - # Set to the user saned should run as RUN_AS_USER=saned diff --git a/debian/sane-utils.saned.init b/debian/sane-utils.saned.init index 2e624a6..e629105 100644 --- a/debian/sane-utils.saned.init +++ b/debian/sane-utils.saned.init @@ -33,11 +33,6 @@ if [ -f /etc/default/saned ] ; then . /etc/default/saned fi -if [ "x$RUN" != "xyes" ] ; then - log_success_msg "$NAME disabled; edit /etc/default/saned" - exit 0 -fi - DAEMON_OPTS="-a $RUN_AS_USER" set -e -- cgit v1.2.3