[PC-BSD Commits] r18586 - pcbsd/current/src-sh/pc-updatemanager/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Aug 23 12:08:22 PDT 2012


Author: kris
Date: 2012-08-23 19:08:22 +0000 (Thu, 23 Aug 2012)
New Revision: 18586

Modified:
   pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1
   pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage2
Log:

Use "fastboot" instead of "shutdown -r now" when doing updates, may fix
issues with the system hanging instead of rebooting properly after we
update the kernel / packages



Modified: pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1	2012-08-23 19:05:01 UTC (rev 18585)
+++ pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1	2012-08-23 19:08:22 UTC (rev 18586)
@@ -223,5 +223,5 @@
 echo -e "Rebooting for stage 2 of upgrade...\c"
 sync
 sleep 5
-(shutdown -r now) &
+(fastboot) &
 sleep 500

Modified: pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage2
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage2	2012-08-23 19:05:01 UTC (rev 18585)
+++ pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage2	2012-08-23 19:08:22 UTC (rev 18586)
@@ -65,5 +65,5 @@
 echo -e "DONE"
 
 echo -e "Update finished! Rebooting..."
-(shutdown -r now) &
+(fastboot) &
 sleep 300



More information about the Commits mailing list