Page 1 of 1

gdomap PT-PT

Posted: Thu Jun 20, 2024 11:43 pm
by AntonioPt

Hello all,

Another script with translation and small bugs clean

Add it :

Code: Select all

INC_0="/etc/default/$NAME"
INC_1="/lib/lsb/init-functions"
[ -x "$DAEMON" ] || exit 0
[ ! -f "${INC_0}" ] && echo "$(gettext "This script") ${NAME} $(gettext "needs to include") ${INC_0} $(gettext "in order to work.")" && exit 1
[ ! -f "${INC_1}" ] && echo "$(gettext "This script") ${NAME} $(gettext "needs to include") ${INC_1} $(gettext "in order to work.")" && exit 1
. ${INC_0}
. ${INC_1}

removed :

Code: Select all

if [ -f /etc/default/$NAME ]; then
    . /etc/default/$NAME
fi
. /lib/lsb/init-functions

Puppy: LunarPup
Path: /etc/init.d


Re: gdomap PT-PT

Posted: Fri Jun 21, 2024 1:01 pm
by AntonioPt

Forgot to mention that in LunarPup /lib/lsb/init-functions are missing