Bring build fixes from TrueNAS for freebsd 9
Fix rc var to start the script in django init