View | Details | Raw Unified | Return to bug 161109 | Differences between
and this patch

Collapse All | Expand All

(-)files/memcached.in (-4 / +13 lines)
Lines 74-83 Link Here
74
{
74
{
75
	local file
75
	local file
76
76
77
	for file in ${_piddir}/* ; do
77
	if [ -n "${profile}" ]; then
78
		case "$file" in *\*) continue ;; esac
78
		unlink ${_piddir}/memcached."${profile}".pid
79
		unlink $file
79
	else
80
	done
80
		if [ "x${memcached_profiles}" == "x" ]; then
81
			for file in ${_piddir}/* ; do
82
				case "$file" in
83
				*\*)
84
					continue ;;
85
				esac
86
				unlink $file
87
			done
88
		fi
89
	fi
81
}
90
}
82
91
83
: ${memcached_enable="NO"}
92
: ${memcached_enable="NO"}

Return to bug 161109