]> git.pld-linux.org Git - packages/gdm.git/commitdiff
This commit was manufactured by cvs2git to create tag 'auto-ac-gdm- auto/ac/gdm-2_14_8-1
authorcvs2git <feedback@pld-linux.org>
Thu, 8 Jun 2006 17:05:37 +0000 (17:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
2_14_8-1'.

Sprout from AC-branch 2006-06-08 17:05:37 UTC freetz <freetz@pld-linux.org> '- 2.14.8 STBR'
Cherrypick from master 2005-07-28 13:08:53 UTC Elan Ruusamäe <glen@pld-linux.org> '- leading zeroes to chkconfig for better comparision with rc-scripts.db.txt':
    gdm.init -> 1.13
Delete:
    gdm-default_theme.patch
    gdm-vt_9.patch

gdm-default_theme.patch [deleted file]
gdm-vt_9.patch [deleted file]
gdm.init [new file with mode: 0644]

diff --git a/gdm-default_theme.patch b/gdm-default_theme.patch
deleted file mode 100644 (file)
index 4e37160..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN gdm-2.6.0.3-orig/config/gdm.conf.in gdm-2.6.0.3/config/gdm.conf.in
---- gdm-2.6.0.3-orig/config/gdm.conf.in        2004-06-25 09:05:34.000000000 +0200
-+++ gdm-2.6.0.3/config/gdm.conf.in     2004-06-25 09:07:40.923727008 +0200
-@@ -382,7 +382,7 @@
- # then provide a list that is delimited by /: to the GraphicalThemes key and 
- # set GraphicalThemeRand to true.  Otherwise use GraphicalTheme and specify
- # just one theme.
--#GraphicalTheme=circles
-+GraphicalTheme=storky
- #GraphicalThemes=circles/:happygnome
- GraphicalThemeDir=@EXPANDED_DATADIR@/gdm/themes/
- GraphicalThemeRand=false
diff --git a/gdm-vt_9.patch b/gdm-vt_9.patch
deleted file mode 100644 (file)
index c22ac78..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN gdm-2.6.0.8.orig/config/gdm.conf.in gdm-2.6.0.8/config/gdm.conf.in
---- gdm-2.6.0.8.orig/config/gdm.conf.in        2005-02-14 23:49:35.000000000 +0100
-+++ gdm-2.6.0.8/config/gdm.conf.in     2005-03-22 06:59:10.713437016 +0100
-@@ -134,7 +134,7 @@
- # Automatic VT allocation.  Right now only works on Linux.  This way
- # we force X to use specific vts.  turn VTAllocation to false if this
- # is causing problems.
--#FirstVT=7
-+FirstVT=9
- #VTAllocation=true
- # Should double login be treated with a warning (and possibility to change
- # vts on linux and freebsd systems for console logins)
diff --git a/gdm.init b/gdm.init
new file mode 100644 (file)
index 0000000..9eacee3
--- /dev/null
+++ b/gdm.init
@@ -0,0 +1,59 @@
+#!/bin/sh
+#
+# gdm:         Starts the Gnome Display Manager
+#
+# Version:     @(#) /etc/rc.d/init.d/gdm 0.1
+#
+# chkconfig:   5 95 05
+# description: Starts and stops the Gnome Display Manager at startup and \
+#              shutdown..
+#
+# config:      /etc/X11/gdm/gdm-config
+# probe:       true
+# hide:                true
+
+. /etc/rc.d/init.d/functions
+
+# Get service config
+if [ -f /etc/sysconfig/gdm ]; then
+       . /etc/sysconfig/gdm
+fi
+
+RETVAL=0
+# See how we were called.
+case "$1" in
+  start)
+       # Check if the service is already running?
+       if [ ! -f /var/lock/subsys/gdm ]; then
+               msg_starting "Gnome Display Manager"
+               daemon open /usr/sbin/gdm
+               RETVAL=$?
+               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/gdm
+       else
+               msg_already_running "Gnome Display Manager"
+       fi
+       ;;
+  stop)
+       if [ -f /var/lock/subsys/gdm ]; then
+               msg_stopping "Gnome Display Manager"
+               killproc gdm
+               rm -f /var/lock/subsys/gdm
+       else
+               msg_not_running "Gnome Display Manager"
+       fi
+       ;;
+  status)
+       status gdm
+       exit $?
+       ;;
+  restart|force-reload)
+       $0 stop
+       $0 start
+       exit $?
+       ;;
+  *)
+       msg_usage "$0 {start|stop|restart|force-reload|status}"
+       exit 3
+esac
+
+exit $RETVAL
This page took 0.080293 seconds and 4 git commands to generate.