jagwaugh

Make Package center show phpvirtualbox log

Recommended Posts

The .spk installer for phpvirtualbox works fine, but Package Center doesn't show the vbox.log when you click on the "View Log". It is a really minr point, but... if you want to get it to work:

 

1) edit /var/packages/virtualbox/scripts/start-stop-status

2) at the top, just below the PACKAGE_ENABLED= line, add a new line: LOG_FILE="/var/log/vbox.log"

3) near the bottom in the case section, in the line below log) replace: the line "exit 1" with "echo ${LOG_FILE}" so that it reads:

;;

log)

echo ${LOG_FILE}

;;

 

Save the file, Now it works

This works on DSM5.1, with the "fixed" phpvirtualbox.spk from viewtopic.php?f=15&t=3497&start=100#p31827, but it should be valid for any DSM.

 

Andrew

Share this post


Link to post
Share on other sites

Thank you very much for the infos. I will be looking tomorrow at my phpvirtualbox installation and fix this too. :smile:

Share this post


Link to post
Share on other sites

It works very well! Now the log is shown.

Thanks again for posting the fix! :grin:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now