Turn on node autostart

The reasonable behaviour is for any nodes to be automatically started after
the iscsid service is enabled.
This commit is contained in:
Matthew Garrett 2016-04-18 12:54:46 -07:00
parent 5efc0bac4b
commit 8fb48ff69f

View File

@ -50,6 +50,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-remove-kernel-version-check.patch epatch "${FILESDIR}"/${P}-remove-kernel-version-check.patch
sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die
sed -i -e 's:^node.startup = manual:node.startup = automatic:' etc/iscsid.conf || die
} }
src_configure() { src_configure() {