Fix growroot for Gentoo's openrc

Let dib-init-system's postinstall handle enabling init scripts.

Change-Id: I7b0d235327021b7f478cdb9715d533b444843699
This commit is contained in:
Matthew Thode 2016-02-04 23:41:45 -06:00
parent 5ee1cbac4a
commit 9878469a53
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8

View File

@ -14,6 +14,10 @@ case "$DIB_INIT_SYSTEM" in
systemd)
systemctl enable growroot.service
;;
openrc)
# let dib-init-system's postinstall handle enabling init scripts
exit 0
;;
*)
echo "Unsupported init system"
exit 1