[Demudi-commits] r225 - in demudi-cfengine/trunk: . debian scripts

Free Ekanayaka free-guest@haydn.debian.org
Thu, 18 Nov 2004 08:33:02 -0700


Author: free-guest
Date: 2004-11-18 08:30:36 -0700 (Thu, 18 Nov 2004)
New Revision: 225

Added:
   demudi-cfengine/trunk/scripts/gnome
   demudi-cfengine/trunk/scripts/grub
Modified:
   demudi-cfengine/trunk/cfagent.conf.in
   demudi-cfengine/trunk/debian/control
   demudi-cfengine/trunk/scripts/vim
Log:


Modified: demudi-cfengine/trunk/cfagent.conf.in
===================================================================
--- demudi-cfengine/trunk/cfagent.conf.in	2004-11-18 11:32:25 UTC (rev 224)
+++ demudi-cfengine/trunk/cfagent.conf.in	2004-11-18 15:30:36 UTC (rev 225)
@@ -37,6 +37,7 @@
 
 groups:
 	networked	= ( '/bin/sh -c "/sbin/route -n | /bin/grep -q -e ^0.0.0.0"' )
+	vesafb		= ( '[ "$(uname -r | cut -f -3 -d -)" != "2.4.25-1-multimedia" ]')
 
 ###############################################################################
 

Modified: demudi-cfengine/trunk/debian/control
===================================================================
--- demudi-cfengine/trunk/debian/control	2004-11-18 11:32:25 UTC (rev 224)
+++ demudi-cfengine/trunk/debian/control	2004-11-18 15:30:36 UTC (rev 225)
@@ -8,7 +8,6 @@
 Package: demudi-cfengine
 Architecture: all
 Depends: debconf (>= 0.5), cfengine2
-Recommends: apt, bash, procps, vim
 Conflicts: demudi-base (<< 0.44)
 Description: DeMuDi cfengine scripts
  This package contains cfengine scripts  that are used to

Added: demudi-cfengine/trunk/scripts/gnome
===================================================================
--- demudi-cfengine/trunk/scripts/gnome	2004-11-18 11:32:25 UTC (rev 224)
+++ demudi-cfengine/trunk/scripts/gnome	2004-11-18 15:30:36 UTC (rev 225)
@@ -0,0 +1,14 @@
+#
+# Needed for clean 1.2.0 -> 1.2.1 upgrade
+#
+directories:
+
+        /usr/share/wallpapers
+                                mode=755
+                                owner=root
+                                group=root
+
+
+links:
+
+	/usr/share/wallpapers/woofer_1280x800L.jpg -> /usr/share/images/desktop-base/desktop-background

Added: demudi-cfengine/trunk/scripts/grub
===================================================================
--- demudi-cfengine/trunk/scripts/grub	2004-11-18 11:32:25 UTC (rev 224)
+++ demudi-cfengine/trunk/scripts/grub	2004-11-18 15:30:36 UTC (rev 225)
@@ -0,0 +1,35 @@
+editfiles:
+
+	{ /boot/grub/menu.lst
+		#
+		# Deletes the splashimage hack, no longer needed
+		#
+		LocateLineMatching "$(begin)"
+		DeleteToLineMatching "$(end)"
+		DeleteNLines "1"
+
+		#
+		# 
+		#
+	}
+
+	{ /sbin/update-grub
+		#
+		# Changes default title
+		#
+                ReplaceAll "Debian GNU/Linux" With "aGNUla/DeMuDi"
+	}
+
+	vesafb::
+		{ /boot/grub/menu.lst
+			LocateLineMatching "^# kopt="
+			AppendToLineIfNotContains " vga=791 video=vesafb:mtrr"
+		}
+
+links:
+      
+        /boot/grub/splash.xpm.gz -> /boot/grub/splashimages/agnula-romantic.xpm.gz
+
+shellcommands:
+              
+        "/sbin/update-grub"

Modified: demudi-cfengine/trunk/scripts/vim
===================================================================
--- demudi-cfengine/trunk/scripts/vim	2004-11-18 11:32:25 UTC (rev 224)
+++ demudi-cfengine/trunk/scripts/vim	2004-11-18 15:30:36 UTC (rev 225)
@@ -1,10 +1,15 @@
+files:
+	/etc/vim/vimrc.local
+				mode=644
+				owner=root
+				group=root
+				action=touch
+
 editfiles:
 
-    { /etc/vim/vimrc
+    { /etc/vim/vimrc.local
 
 	# Turn on syntax highlighting
+	AppendIfNoSuchLine "syntax on"
 
-	SetCommentStart "\""
-	UnCommentLinesMatching "^\" syntax on"
-
     }