Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559922 - net-dns/pdns-3.3.1: init.d is missing the show and mrtg function that allowes for pulling stats
Summary: net-dns/pdns-3.3.1: init.d is missing the show and mrtg function that allowes...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 01:44 UTC by bobby hakimi
Modified: 2015-09-17 00:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bobby hakimi 2015-09-08 01:44:34 UTC
here is a example function from a debian init.d script


  show)
	if isrunning; then
		if [ $# -lt 2 ]; then
			echo "Insufficient parameters"
			exit 1
		fi
		echo -n "$2="
		doPC show $2
	else
		echo "not running"
	fi 
	;;		
  mrtg)
	if isrunning; then
		if [ $# -lt 2 ]; then
			echo "Insufficient parameters"
			exit 1
		fi 
		doPC show $2
		if [ "$3x" != "x" ]; then
			doPC show $3
		else
			echo 0
		fi
		doPC uptime
		echo "$DESC"
	else
		echo "not running"
	fi 
	;;

Reproducible: Always

Steps to Reproduce:
missing init.d functions