summaryrefslogtreecommitdiff
path: root/init.d/sysctl.GNU.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-12-03 10:13:41 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-12-03 10:13:41 -0600
commit1267025fb76af18e31b2c7de16606abbb9b87ea3 (patch)
tree8cc3a36b1dd7e1438d05a293cae8eac572126a7c /init.d/sysctl.GNU.in
parent30cc3cdb76a66c7c0f89a52db4e5cff77b570e31 (diff)
Diffstat (limited to 'init.d/sysctl.GNU.in')
-rw-r--r--init.d/sysctl.GNU.in32
1 files changed, 0 insertions, 32 deletions
diff --git a/init.d/sysctl.GNU.in b/init.d/sysctl.GNU.in
deleted file mode 100644
index 71398246..00000000
--- a/init.d/sysctl.GNU.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!@PREFIX@/sbin/runscript
-# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
-#FIXME: Modify for GNU/Hurd
-
-depend()
-{
- before bootmisc logger
- keyword -prefix
-}
-
-start()
-{
- [ -e /etc/sysctl.conf ] || return 0
- local retval=0 var= comments= conf=
- ebegin "Configuring kernel parameters"
- eindent
- for conf in @SYSCONFDIR@/sysctl.conf @SYSCONFDIR@/sysctl.d/*.conf; do
- if [ -r "$conf" ]; then
- vebegin "applying $conf"
- while read var comments; do
- case "$var" in
- ""|"#"*) continue;;
- esac
- sysctl -w "$var" >/dev/null || retval=1
- done < "$conf"
- veend $retval
- fi
- done
- eoutdent
- eend $retval "Some errors were encountered"
-}