summary refs log tree commit diff
path: root/initscript/linexa
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-04-04 22:36:02 +0200
committerMichael Biebl <biebl@debian.org>2011-04-04 22:36:02 +0200
commitc980bdf58dc973dd5617aaa6f9466f9e44fcbf58 (patch)
treed92f417ab2d0b49d6a006fbd48602744fe245380 /initscript/linexa
parente22c6e05e9ebc6cce941762020c5710b8014677b (diff)
Imported Upstream version 0.8.3.999 upstream/0.8.3.999
Diffstat (limited to 'initscript/linexa')
-rw-r--r--initscript/linexa/Makefile.am3
-rw-r--r--initscript/linexa/Makefile.in5
-rw-r--r--initscript/linexa/networkmanager59
3 files changed, 1 insertions, 66 deletions
diff --git a/initscript/linexa/Makefile.am b/initscript/linexa/Makefile.am
index 0a0cc2bb..bdc99085 100644
--- a/initscript/linexa/Makefile.am
+++ b/initscript/linexa/Makefile.am
@@ -1,6 +1,3 @@
-EXTRA_DIST = networkmanager
-DISTCLEANFILES = networkmanager
-
 initddir = $(sysconfdir)/rc.d/init.d
 initd_SCRIPTS = networkmanager
 
diff --git a/initscript/linexa/Makefile.in b/initscript/linexa/Makefile.in
index 49f99dae..9bd2bb0e 100644
--- a/initscript/linexa/Makefile.in
+++ b/initscript/linexa/Makefile.in
@@ -43,7 +43,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/compiler_warnings.m4 \
 	$(top_srcdir)/m4/libnl-check.m4 $(top_srcdir)/m4/libtool.m4 \
 	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
 	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
-	$(top_srcdir)/configure.ac
+	$(top_srcdir)/m4/nls.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -268,8 +268,6 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-EXTRA_DIST = networkmanager
-DISTCLEANFILES = networkmanager
 initddir = $(sysconfdir)/rc.d/init.d
 initd_SCRIPTS = networkmanager
 all: all-am
@@ -412,7 +410,6 @@ clean-generic:
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
diff --git a/initscript/linexa/networkmanager b/initscript/linexa/networkmanager
deleted file mode 100644
index 0d754c36..00000000
--- a/initscript/linexa/networkmanager
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-# Start the networkmanager daemon
-#
-# Author: Elias <elias@linexa.de>
-# [2010-08-20]
-
-# Information about the daemon
-title="networkmanager"           # No spaces allowed in here
-start_after="dbus" 						# dependencies for start-up
-stop_after="xinetd"                     # dependencies for stop
-runlevel="2"                         # start/stop in this runlevel
-sequence="25"                        # "checkinstall networkmanager enable"
-                                     # will create links to:
-                                     #   /etc/rc.d/rc${runlevel}.d/S${sequence}${title}
-                                     #   /etc/rc.d/rc${runlevel}.d/S$((100 - ${sequence}))${title}
-                   
-# check whether daemon is running
-# returns 0 if running, >0 if not
-check() {
-  [ -f /var/run/NetworkManager.pid ]
-}
-
-# start procedure
-start() {
-  if check ; then
-    warning "${title} is already running. Type 'service restart ${title}'" # Issue a warning
-  else
-    /usr/sbin/NetworkManager &
-    evaluate_retval "Starting ${title}. "     # Print [  done  ] or [ failed ] depending on outcome
-  fi
-}
-
-# stop procedure
-stop() {
-  if check ; then # daemon is running
-    kill $(cat /var/run/NetworkManager.pid)
-    evaluate_retval "Stopping ${title}."     # Print [  done  ] or [ failed ] depending on outcome
-  else # daemon not running
-    warning "${title} is not running." # Issue a warning
-  fi
-}
-
-# restart procedure
-restart() {
-  stop
-  sleep 1
-  start
-}
-
-# reload action
-reload() {
-  if check ; then # daemon is running
-    kill -HUP $(cat /var/run/NetworkManager.pid) &>/dev/null
-    evaluate_retval "Reloading ${title}."    # Print [  done  ] or [ failed ] depending on outcome
-  else # daemon not running
-    warning "${title} is not running." # Issue a warning
-  fi
-}
-