cPanel AppConfig for Fantastico

A simple script to populate the configuration file and register Fantastico with the cPanel AppConfig system.

#!/bin/sh

cat > /var/cpanel/apps/addon_fantastico.conf <<EOF
name=addon_fantastico
service=whostmgr
url=/cgi/addon_fantastico.cgi
url2=/cgi/fantastico/index.php
url3=/cgi/fantastico/fantastico.php
user=root
acls=any
displayname=addon_fantastico
EOF

/usr/local/cpanel/bin/register_appconfig /var/cpanel/apps/addon_fantastico.conf