[PC-BSD Commits] r18535 - pcbsd/current/build-files/scripts

svn at pcbsd.org svn at pcbsd.org
Wed Aug 22 05:35:10 PDT 2012


Author: kris
Date: 2012-08-22 12:35:10 +0000 (Wed, 22 Aug 2012)
New Revision: 18535

Modified:
   pcbsd/current/build-files/scripts/rc-resizeusb
Log:

Insert breakpoint for testing



Modified: pcbsd/current/build-files/scripts/rc-resizeusb
===================================================================
--- pcbsd/current/build-files/scripts/rc-resizeusb	2012-08-22 12:22:22 UTC (rev 18534)
+++ pcbsd/current/build-files/scripts/rc-resizeusb	2012-08-22 12:35:10 UTC (rev 18535)
@@ -43,6 +43,9 @@
 #
 # Running LIVE USB image, lets resize
 #
+
+/bin/sh
+
 dev=`glabel status | grep PCBSDUSB | awk '{print $3}'`
 if [ -n "$dev" ] ; then
   rdev=`echo $dev | rev | cut -c 2- | rev`
@@ -56,6 +59,7 @@
   sleep 5 
 
   # Relabel the file-system
+  glabel clear ${dev}
   glabel label USBLIVE ${dev}
 else
   echo "Unable to resize file-system.. Rebooting into live image.."



More information about the Commits mailing list