#445420 gpm: add /etc/default/gpm to control daemon startup at boot (with option ENABLED)

Package:
gpm
Source:
gpm
Description:
General Purpose Mouse interface
Submitter:
Jari Aalto
Date:
2021-09-22 04:40:11 UTC
Severity:
wishlist
#445420#5
Date:
2007-10-05 16:46:29 UTC
From:
To:
In servers, that do not contain X, the gpm is very handy. However, the
gpm process does not need to be started at boot to consume memory at
low mem systems (I have 64M; NFS server). The sysadm can start it
manually when he logs in.

 I suggest to use similar approach as with other daemons:

1. Add /etc/default/gpm with one entry:

    ENABLED="yes"		# or no

2. /etc/init.d/gpm sources this configuration file (pseudo code):

    . /lib/lsb/init-functions

    ...
    ENABLED="yes"		# set default value
    [ -f /etc/default/gpm ] && . /etc/default/gpm

    fi [ ! "$ENABLED" = "yes" ]; then
	log_warning_msg "gpm is disabled by /etc/default/gpm directive (ENABLED=\"$ENABLED\")"
	exit 0
    fi

#445420#10
Date:
2021-09-22 04:26:56 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com