forked from ungleich-public/cdist
10 lines
202 B
Text
10 lines
202 B
Text
|
#!/bin/sh
|
||
|
|
||
|
manager="$(cat "$__object/explorer/service-manager")"
|
||
|
name=$__object_id
|
||
|
action="$(cat "$__object/parameter/action")"
|
||
|
|
||
|
if [ "$manager" = "unknown" ]; then
|
||
|
echo "service '$name' '$action'"
|
||
|
fi
|