Changeset 77d970f for debian


Ignore:
Timestamp:
Apr 17, 2012 12:33:30 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
746b91f2
Parents:
678c87d
Message:

debian: initscript: reorder, change some exit statuses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/i2p.init

    r678c87d r77d970f  
    4444 wrapper.daemonize=TRUE"
    4545
     46[ -r /lib/lsb/init-functions ] && . /lib/lsb/init-functions
     47[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh
     48
     49
    4650for ENV_FILE in /etc/environment /etc/default/locale; do
    4751[ -r "$ENV_FILE" ] || continue
     
    5761 done
    5862done
    59 
    60 # this isn't really needed since we depend on lsb-base (>= 3.2-14)
    61 ## Actually, we *do* need this since the versioned dependency has been dropped
    62 ## the I2P packages can be installed in GnewSense.
    63 [ -r /lib/lsb/init-functions ] && . /lib/lsb/init-functions
    64 [ -r /lib/init/vars.sh ] && . /lib/init/vars.sh
    6563
    6664# read config file
     
    8078
    8179# We need the wrapper. If it's not found, abort.
    82 [ -x $DAEMON ] || exit 0
     80[ -x $DAEMON ] || exit 1
    8381
    8482# Even though this script doesn't call it, check for i2prouter.  If it's not
    8583# found, it probably means that the package isn't installed anymore.
    86 [ -x /usr/bin/i2prouter ] || exit 0
     84[ -x /usr/bin/i2prouter ] || exit 1
    8785
    8886do_start()
Note: See TracChangeset for help on using the changeset viewer.