aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 05:35:56 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 05:35:56 +0000
commited814850398b9c680c82060767b28c86559f24ae (patch)
tree3cd604792c4f6dc4bab0b56da68bcf3342b66a10
parentda0f1f26262d87f2716448ba1289a200fa03e930 (diff)
downloadpfsense-packages-ed814850398b9c680c82060767b28c86559f24ae.tar.gz
pfsense-packages-ed814850398b9c680c82060767b28c86559f24ae.tar.bz2
pfsense-packages-ed814850398b9c680c82060767b28c86559f24ae.zip
added missing nfs files
-rw-r--r--packages/freenas/bin/mountdbin0 -> 27112 bytes
-rw-r--r--packages/freenas/bin/nfsdbin0 -> 14004 bytes
-rw-r--r--packages/freenas/bin/rpcbindbin0 -> 39540 bytes
-rw-r--r--packages/freenas/pkg/freenas.inc12
4 files changed, 12 insertions, 0 deletions
diff --git a/packages/freenas/bin/mountd b/packages/freenas/bin/mountd
new file mode 100644
index 00000000..55682c7b
--- /dev/null
+++ b/packages/freenas/bin/mountd
Binary files differ
diff --git a/packages/freenas/bin/nfsd b/packages/freenas/bin/nfsd
new file mode 100644
index 00000000..311f1fca
--- /dev/null
+++ b/packages/freenas/bin/nfsd
Binary files differ
diff --git a/packages/freenas/bin/rpcbind b/packages/freenas/bin/rpcbind
new file mode 100644
index 00000000..882d9c4d
--- /dev/null
+++ b/packages/freenas/bin/rpcbind
Binary files differ
diff --git a/packages/freenas/pkg/freenas.inc b/packages/freenas/pkg/freenas.inc
index 1f514853..c77abcfc 100644
--- a/packages/freenas/pkg/freenas.inc
+++ b/packages/freenas/pkg/freenas.inc
@@ -134,6 +134,12 @@ function oninstall_copy_misc_binaries($action = "install") {
$binaries = array();
$binaries[] = array("source" => "/usr/local/pkg/iscontrol",
"target" => "/usr/local/sbin/iscontrol");
+ $binaries[] = array("source" => "/usr/local/pkg/nfsd",
+ "target" => "/usr/sbin/nfsd");
+ $binaries[] = array("source" => "/usr/local/pkg/nfsd",
+ "target" => "/usr/sbin/mountd");
+ $binaries[] = array("source" => "/usr/local/pkg/rpcbind",
+ "target" => "/usr/sbin/rpcbind");
if ($action == "install") {
while (list($source, $target) = each($binaries)) {
@@ -199,6 +205,9 @@ function custom_php_install_command() {
rename("/usr/local/pkg/rc.freenas", "/usr/local/etc/rc.d/rc.freenas");
chmod ("/usr/local/etc/rc.d/rc.freenas", 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");
}
function custom_php_deinstall_command() {
@@ -207,4 +216,7 @@ function custom_php_deinstall_command() {
if (! file_exists("/usr/local/etc/rc.d"))
mwexec("rm -rf /usr/local/etc/rc.d"); }
+
+ unlink_if_exists("/usr/local/etc/uams/uams_clrtxt.so");
+ unlink_if_exists("/usr/local/etc/uams/uams_dhx.so");
?>