summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2010-06-04 12:04:31 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2010-06-04 12:04:31 -0400
commit9aace1fa58d1a4219fdddc4df01e0735f78dd306 (patch)
tree7259f4d3987628dd3e6f264c3b210894a016f3ac /utils
parent348bc8a1765ddc38054a19425d10b5a4729b0904 (diff)
downloadgdm-9aace1fa58d1a4219fdddc4df01e0735f78dd306.tar.gz
Remove restart and stop scripts
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.am22
-rwxr-xr-xutils/gdm-restart.in10
-rwxr-xr-xutils/gdm-safe-restart.in9
-rwxr-xr-xutils/gdm-stop.in9
4 files changed, 0 insertions, 50 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 64b3024c..379c3d52 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -19,24 +19,11 @@ edit = sed \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@GDM_PID_FILE[@]|$(GDM_PID_FILE)|g'
-gdm-stop: gdm-stop.in Makefile
- $(edit) $< >$@
-gdm-restart: gdm-restart.in Makefile
- $(edit) $< >$@
-gdm-safe-restart: gdm-safe-restart.in Makefile
- $(edit) $< >$@
-
bin_PROGRAMS = \
gdmflexiserver \
gdm-screenshot \
$(NULL)
-sbin_SCRIPTS = \
- gdm-stop \
- gdm-restart \
- gdm-safe-restart \
- $(NULL)
-
gdmflexiserver_SOURCES = \
gdmflexiserver.c \
$(NULL)
@@ -57,18 +44,9 @@ gdm_screenshot_LDADD = \
$(COMMON_LIBS) \
$(NULL)
-EXTRA_DIST = \
- gdm-stop.in \
- gdm-restart.in \
- gdm-safe-restart.in \
- $(NULL)
-
CLEANFILES = \
$(NULL)
DISTCLEANFILES = \
- gdm-stop \
- gdm-restart \
- gdm-safe-restart \
$(NULL)
diff --git a/utils/gdm-restart.in b/utils/gdm-restart.in
deleted file mode 100755
index 4bc91079..00000000
--- a/utils/gdm-restart.in
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-PIDFILE=@GDM_PID_FILE@
-if test '!' -f $PIDFILE ; then
- echo "$PIDFILE doesn't exist, perhaps GDM isn't running"
- exit 1
-fi
-# exec the kill to get the correct return code
-echo "Not supported"
-
diff --git a/utils/gdm-safe-restart.in b/utils/gdm-safe-restart.in
deleted file mode 100755
index bccf5a31..00000000
--- a/utils/gdm-safe-restart.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-PIDFILE=@GDM_PID_FILE@
-if test '!' -f $PIDFILE ; then
- echo "$PIDFILE doesn't exist, perhaps GDM isn't running"
- exit 1
-fi
-echo "Not supported"
-
diff --git a/utils/gdm-stop.in b/utils/gdm-stop.in
deleted file mode 100755
index 546c6b51..00000000
--- a/utils/gdm-stop.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-PIDFILE=@GDM_PID_FILE@
-if test '!' -f $PIDFILE ; then
- echo "$PIDFILE doesn't exist, perhaps GDM isn't running"
- exit 1
-fi
-# exec the kill to get the correct return code
-exec kill -TERM `cat $PIDFILE`