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, "# 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);
system("chmod 555 /usr/local/etc/rc.d/assp.sh");
system("/usr/local/etc/rc.d/assp.sh &");
system("rm -rf /usr/local/assp");