3636b40f74
The current implementation evauates the dib-init-system script too early. Also it looks that there is no simple way of getting the info about the init system automatically: another element can install (later on) a different init system. Therefore the only reliable way of setting this is manual. Change-Id: I6e9ffa1bdb3154f488f4fd335b197699b86aacd4 Signed-off-by: Andreas Florath <andreas@florath.net>
6 lines
120 B
Bash
6 lines
120 B
Bash
if [[ ${DIB_RELEASE} == "trusty" ]]; then
|
|
export DIB_INIT_SYSTEM=upstart
|
|
else
|
|
export DIB_INIT_SYSTEM=systemd
|
|
fi
|