--- phpvirtualbox-4.1.7.ebuild.orig 2012-03-17 00:44:27.000000000 +0200 +++ phpvirtualbox-4.1.7.ebuild 2012-06-13 17:06:26.357048054 +0300 @@ -39,6 +39,8 @@ webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example webapp_src_install + + newinitd "${FILESDIR}"/vboxinit-initd vboxinit } pkg_postinst() { @@ -47,4 +49,8 @@ elog "'vboxwebsrv' useflag and the respective init script" elog "must be running to use this interface" elog " /etc/init.d/vboxwebsrv start" + elog + elog "You should add the vboxinit script to the default runlevel to" + elog "enable the auto-starting and auto-saveing of virtual machines:" + elog "\`rc-update add vboxinit default\`" }