diff options
author | dequis <dx@dxzone.com.ar> | 2017-01-01 19:40:09 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2017-01-02 03:44:38 -0300 |
commit | 7a3d2c7d612aba056153ed9eb6c460bc303fcd9e (patch) | |
tree | f73a1736935fdfdeb81c076524a7b0dc63d6f6df /debian/bitlbee-common.init | |
parent | 8768f677d4ee42a8a5c926b102614ab1c8297ccb (diff) |
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)
Diffstat (limited to 'debian/bitlbee-common.init')
-rw-r--r-- | debian/bitlbee-common.init | 11 |
1 files changed, 1 insertions, 10 deletions
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 "." |