aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas/pkg/freenas.inc
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 08:37:46 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 08:37:46 +0000
commitf183c1cad7971ca5e8a0ca84027d018b34de190a (patch)
tree9ba5feae8d5a906e7af9074ee67259946b62b925 /packages/freenas/pkg/freenas.inc
parent938c550d97737c0866d72d73479ef4a9b34411bb (diff)
downloadpfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.tar.gz
pfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.tar.bz2
pfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.zip
(re)added rc.freenas to freenas.xml
Diffstat (limited to 'packages/freenas/pkg/freenas.inc')
-rw-r--r--packages/freenas/pkg/freenas.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/freenas/pkg/freenas.inc b/packages/freenas/pkg/freenas.inc
index b06d5db8..692a526b 100644
--- a/packages/freenas/pkg/freenas.inc
+++ b/packages/freenas/pkg/freenas.inc
@@ -236,8 +236,8 @@ function custom_php_install_command() {
if (! file_exists("/usr/local/etc/rc.d"))
mwexec("mkdir -p /usr/local/etc/rc.d");
- rename("/usr/local/pkg/rc.freenas", "/usr/local/etc/rc.d/rc.freenas");
- chmod ("/usr/local/etc/rc.d/rc.freenas", 0755);
+ rename("/usr/local/pkg/rc.freenas", "/usr/local/etc/rc.d/freenas.sh");
+ chmod ("/usr/local/etc/rc.d/freenas.sh", 0755);
mwexec("ln -s /usr/local/etc/uams/uams_passwd.so /usr/local/etc/uams/uams_clrtxt.so");
mwexec("ln -s /usr/local/etc/uams/uams_dhx_passwd.so /usr/local/etc/uams/uams_dhx.so");
@@ -254,6 +254,7 @@ function custom_php_deinstall_command() {
unlink_if_exists("/usr/local/etc/uams/uams_clrtxt.so");
unlink_if_exists("/usr/local/etc/uams/uams_dhx.so");
+ unlink_if_exists("/usr/local/etc/rc.d/freenas.sh");
unset($config['installedpackages']['freenas']);
write_config();