[Devel] debian $START_ON_BOOT

Juha Heinanen jh at tutpro.com
Wed Apr 5 15:25:42 CEST 2006


Dan Pascu writes:

 > Why should it be there? OpenSER doesn't use it. It's a setting which is 
 > only relevant to the debian debconf system.

yes, but the problem is that when you run

dpkg-reconfigure openser

$START_ON_BOOT variable value is not stored in /etc/default/openser and
consequently when you rerun the script, old value is not remembered.
also openser.postinst tries to access the value:

RET=
db_get openser/start_on_boot || true
if [ "$RET" = true ]; then
    START_ON_BOOT=yes
else
    START_ON_BOOT=no
fi

-- juha



More information about the Devel mailing list