Services: ASSP
assp
0.1.0
- http://www.pfsense.com/packages/All/assp-1.0.tgz
$fout = fopen("/usr/local/etc/rc.d/assp.sh","w");
fwrite($fout, "#!/bin/sh\n\n");
fwrite($fout, "# PACKAGE: assp\n");
fwrite($fout, "# EXECUTABLE: assp\n");
fwrite($fout, "# This file was automatically generated by the pfSense\n");
fwrite($fout, "# package management system\n\n");
fwrite($fout, "/usr/bin/perl /usr/local/assp/assp.pl &\n\n");
fclose($fout);
chmod("/usr/local/etc/rc.d/assp.sh", 0755);
mwexec_bg("/usr/local/etc/rc.d/assp.sh");
echo "ASSP is now installed. You can access it from the left hand menu.";
rmdir_recursive("/usr/local/assp");
unlink_if_exists("/usr/local/etc/rc.d/assp.sh");