From 7a3d2c7d612aba056153ed9eb6c460bc303fcd9e Mon Sep 17 00:00:00 2001 From: dequis Date: Sun, 1 Jan 2017 19:40:09 -0300 Subject: debian: drop support for /etc/default/bitlbee It was broken with the transition to systemd and doesn't seem worth fixing - it's redundant with bitlbee.conf and not much more than a source of confusion for users. This also removes all the debconf stuff and all the translations which are not used anymore (that looked a bit excessive for something that just asks for a port number) --- debian/bitlbee-common.init | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'debian/bitlbee-common.init') diff --git a/debian/bitlbee-common.init b/debian/bitlbee-common.init index fd10b0af..8fbec11a 100644 --- a/debian/bitlbee-common.init +++ b/debian/bitlbee-common.init @@ -22,15 +22,8 @@ SCRIPTNAME=/etc/init.d/$NAME # Gracefully exit if the package has been removed. [ -x $DAEMON ] || exit 0 -# Default value -BITLBEE_PORT=6667 BITLBEE_OPTS=-F -# Read config file if it is present. -if [ -r /etc/default/$NAME ]; then - . /etc/default/$NAME -fi - # # Function that starts the daemon/service. @@ -41,7 +34,7 @@ d_start() { chown bitlbee: $PIDFILE start-stop-daemon --start --quiet --pidfile $PIDFILE \ - --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS + --exec $DAEMON -- -P $PIDFILE $BITLBEE_OPTS } # @@ -55,8 +48,6 @@ d_stop() { case "$1" in start) - [ "$BITLBEE_DISABLED" = "1" ] && exit 0 - echo -n "Starting $DESC: $NAME" d_start echo "." -- cgit v1.2.3