File: munin

package info (click to toggle)
cruft-ng 0.9.78
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,904 kB
  • sloc: cpp: 1,748; sh: 816; python: 262; makefile: 97; ansic: 82; perl: 75
file content (14 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

test -z "$CRUFT_ROOT" || exit 0

test -d /usr/share/munin/plugins || exit 0

find /usr/share/munin/plugins -maxdepth 1 -type f -printf "%f\n" | while read -r file
do
	if [ -e "/etc/munin/plugins/$file" ]
	then
		echo "/etc/munin/plugins/$file"
	fi
done