[PC-BSD Commits] r1843 - in pcbsd/trunk/installcd-overlay/usr/local: bin pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue May 6 09:38:56 PDT 2008


Author: kris
Date: 2008-05-06 09:38:55 -0700 (Tue, 06 May 2008)
New Revision: 1843

Removed:
   pcbsd/trunk/installcd-overlay/usr/local/bin/eject
Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.EjectCD.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:

Removed static eject binary, use cdcontrol now



Deleted: pcbsd/trunk/installcd-overlay/usr/local/bin/eject

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.EjectCD.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.EjectCD.sh	2008-05-06 02:23:43 UTC (rev 1842)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.EjectCD.sh	2008-05-06 16:38:55 UTC (rev 1843)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 /sbin/umount `cat /tmp/cdmnt` 
-/usr/local/bin/eject `cat /tmp/cdmnt`
+/usr/sbin/cdcontrol -f `cat /tmp/cdmnt` eject
 

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-05-06 02:23:43 UTC (rev 1842)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-05-06 16:38:55 UTC (rev 1843)
@@ -148,7 +148,7 @@
 umount -f /mnt >/dev/null
 
 umount /cdmnt
-/usr/local/bin/eject `cat /tmp/cdmnt`
+/usr/sbin/cdcontrol -f `cat /tmp/cdmnt` eject
 
 # If we need to stamp the BSD boot-loader, do it
 if [ -e "/tmp/StampBoot.sh" ]



More information about the Commits mailing list