File: systune.init

package info (click to toggle)
systune 0.5.3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 132 kB
  • ctags: 39
  • sloc: perl: 1,330; sh: 128; makefile: 15
file content (36 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
#
# /etc/init.d/fonty
# start 50 2 3 4 5 .
#
# Adaptated by Piotr Roszatycki <dexter@debian.org>

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PROGRAM=/usr/sbin/systune
NAME=systune
DESC="tuning kernel"

test -f $PROGRAM || exit 0
set -e

case "$1" in
  start)
	echo -n "Starting $DESC: "
	$PROGRAM
	echo "$NAME."
	;;
  stop)
     ;;
  reload|restart|force-reload)
	echo -n "Restarting $DESC: "
	$PROGRAM
	echo "$NAME."
	;;
  *)
	N=/etc/init.d/$NAME
	echo "Usage: $N {start|stop|reload|restart|force-reload}" >&2
	exit 1
	;;
esac

exit 0