[launchd-changes] [23926] trunk/launchd/src/rc.netboot

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 16 12:31:34 PDT 2009


Revision: 23926
          http://trac.macosforge.org/projects/launchd/changeset/23926
Author:   dsorresso at apple.com
Date:     2009-06-16 12:31:33 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
<rdar://problem/6935463> SHARED: Shouldn't allow force eject of diskless NetBoot's AFP backing store volume

Modified Paths:
--------------
    trunk/launchd/src/rc.netboot

Modified: trunk/launchd/src/rc.netboot
===================================================================
--- trunk/launchd/src/rc.netboot	2009-06-16 19:30:19 UTC (rev 23925)
+++ trunk/launchd/src/rc.netboot	2009-06-16 19:31:33 UTC (rev 23926)
@@ -1,6 +1,6 @@
 #!/bin/sh
 ##
-# Copyright 2002-2008 Apple Inc.
+# Copyright 2002-2009 Apple Inc.
 #
 # This script configures NetBoot
 ##
@@ -130,9 +130,9 @@
 	   return 1
 	   ;;
     esac
-    mount -t "${fstype}" "${mount_from}" "${NETBOOT_MOUNT}"
+    mount -t "${fstype}" -o nobrowse "${mount_from}" "${NETBOOT_MOUNT}"
     if [ $? -ne 0 ]; then
-	echo "mount -t ${fstype} ${mount_from} ${NETBOOT_MOUNT} failed"
+	echo "mount -t ${fstype} -o nobrowse ${mount_from} ${NETBOOT_MOUNT} failed"
 	return 1
     fi
     common_start "${NETBOOT_MOUNT}" "${shadow_path}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090616/a2839889/attachment.html>


More information about the launchd-changes mailing list