From e8fe8f1ee57a15d76aebe7baf9482c129aadc014 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 25 Feb 2011 13:33:59 -0500 Subject: Fix function name to reflect the proper package name. --- config/widescreen/widescreen.inc | 4 ++-- config/widescreen/widescreen.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config/widescreen') diff --git a/config/widescreen/widescreen.inc b/config/widescreen/widescreen.inc index c4cc127d..52c91d92 100644 --- a/config/widescreen/widescreen.inc +++ b/config/widescreen/widescreen.inc @@ -25,7 +25,7 @@ require('filter.inc'); -function mactovendor_custom_php_install_command() +function widescreen_custom_php_install_command() { exec("mkdir -p /usr/local/pkg/widescreen/backup"); // Let's backup everything @@ -47,7 +47,7 @@ function mactovendor_custom_php_install_command() copy("/usr/local/pkg/widescreen/horiz-right.png", "/usr/local/www/themes/pfsense_ng/images/horiz-right.png"); } -function mactovendor_custom_php_deinstall_command() +function widescreen_custom_php_deinstall_command() { copy("/usr/local/pkg/widescreen/backup/all.css.bak", "/usr/local/www/themes/pfsense_ng/all.css"); copy("/usr/local/pkg/widescreen/backup/fbegin.inc.bak", "/usr/local/www/fbegin.inc"); diff --git a/config/widescreen/widescreen.xml b/config/widescreen/widescreen.xml index 5807fc88..98dd9daa 100644 --- a/config/widescreen/widescreen.xml +++ b/config/widescreen/widescreen.xml @@ -63,9 +63,9 @@ http://www.pfsense.org/packages/config/widescreen/bin/index.php_ - mactovendor_custom_php_install_command(); + widescreen_custom_php_install_command(); - mactovendor_custom_php_deinstall_command(); + widescreen_custom_php_deinstall_command(); -- cgit v1.2.3