diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-08-17 08:37:46 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-08-17 08:37:46 +0000 |
commit | f183c1cad7971ca5e8a0ca84027d018b34de190a (patch) | |
tree | 9ba5feae8d5a906e7af9074ee67259946b62b925 | |
parent | 938c550d97737c0866d72d73479ef4a9b34411bb (diff) | |
download | pfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.tar.gz pfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.tar.bz2 pfsense-packages-f183c1cad7971ca5e8a0ca84027d018b34de190a.zip |
(re)added rc.freenas to freenas.xml
-rw-r--r-- | packages/freenas/pkg/freenas.inc | 5 | ||||
-rw-r--r-- | packages/freenas/pkg/freenas.xml | 5 |
2 files changed, 8 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(); diff --git a/packages/freenas/pkg/freenas.xml b/packages/freenas/pkg/freenas.xml index 0c42ff6e..1d398eb9 100644 --- a/packages/freenas/pkg/freenas.xml +++ b/packages/freenas/pkg/freenas.xml @@ -313,6 +313,11 @@ <chmod>0755</chmod> <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_system.inc</item> </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freenas/pkg/rc.freenas</item> + </additional_files_needed> <!-- kernel binaries --> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> |