[PC-BSD Commits] r1551 - in pcbsd/trunk/system-overlay: PCBSD/Scripts etc usr/local/etc/rc.d

svn at pcbsd.org svn at pcbsd.org
Thu Mar 6 10:17:52 PST 2008


Author: kris
Date: 2008-03-06 10:17:51 -0800 (Thu, 06 Mar 2008)
New Revision: 1551

Added:
   pcbsd/trunk/system-overlay/PCBSD/Scripts/cleanpbilog.sh
   pcbsd/trunk/system-overlay/PCBSD/Scripts/system-start.sh
   pcbsd/trunk/system-overlay/PCBSD/Scripts/system-stop.sh
   pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pcbsdinit
Removed:
   pcbsd/trunk/system-overlay/etc/rc.shutdown
Modified:
   pcbsd/trunk/system-overlay/etc/rc.conf
   pcbsd/trunk/system-overlay/etc/rc.local
Log:

Add a pcbsd startup / shutdown script in /usr/local/etc/rc.d
which we can use instead of modifying rc.shutdown manually

Also added a cleanpbilog.sh script, which removes old PBI log entries 
at each system shutdown



Added: pcbsd/trunk/system-overlay/PCBSD/Scripts/cleanpbilog.sh

Added: pcbsd/trunk/system-overlay/PCBSD/Scripts/system-start.sh


Property changes on: pcbsd/trunk/system-overlay/PCBSD/Scripts/system-start.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: pcbsd/trunk/system-overlay/PCBSD/Scripts/system-stop.sh


Property changes on: pcbsd/trunk/system-overlay/PCBSD/Scripts/system-stop.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: pcbsd/trunk/system-overlay/etc/rc.conf
===================================================================
--- pcbsd/trunk/system-overlay/etc/rc.conf	2008-03-06 17:34:48 UTC (rev 1550)
+++ pcbsd/trunk/system-overlay/etc/rc.conf	2008-03-06 18:17:51 UTC (rev 1551)
@@ -9,6 +9,9 @@
 devfs_system_ruleset="devfsrules_common" 
 sendmail_enable="NO"
 sendmail_rebuild_aliases="YES"
+
+# Enable the pcbsd startup / shutdown scripts
+pcbsdinit_enable="YES"
  
 #Enable samba server 
 samba_enable="YES" 

Modified: pcbsd/trunk/system-overlay/etc/rc.local
===================================================================
--- pcbsd/trunk/system-overlay/etc/rc.local	2008-03-06 17:34:48 UTC (rev 1550)
+++ pcbsd/trunk/system-overlay/etc/rc.local	2008-03-06 18:17:51 UTC (rev 1551)
@@ -5,6 +5,3 @@
 
 # Check if the user requested to re-run the X tool
 /PCBSD/Scripts/checkXloader.sh
- 
-# Run fbsd-update script to see if updates are necessary
-#(sleep 30 ; /PCBSD/Scripts/fbsd-update.sh ) &

Deleted: pcbsd/trunk/system-overlay/etc/rc.shutdown

Added: pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pcbsdinit


Property changes on: pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pcbsdinit
___________________________________________________________________
Name: svn:executable
   + *



More information about the Commits mailing list