--- phpvirtualbox-4.1.7.ebuild.orig 2012-03-17 00:44:27.000000000 +0200 +++ phpvirtualbox-4.1.7.ebuild 2012-06-15 14:33:20.371613012 +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,14 @@ elog "'vboxwebsrv' useflag and the respective init script" elog "must be running to use this interface" elog " /etc/init.d/vboxwebsrv start" + elog + elog "To enable the automatic startup mode feature uncomment the" + elog "following line in the config.php file:" + elog " var \$startStopConfig = true;" + elog + elog "You should also add the /etc/init.d/vboxinit script to the" + elog "default runlevel on the virtualbox host:" + elog "\`rc-update add vboxinit default\`" + elog "If the server is on a remote host, than the script must be" + elog "copied manually." }