Merge branch 'issue/261' of git://github.com/asteven/cdist

This commit is contained in:
Nico Schottelius 2014-01-18 15:54:38 +01:00
commit 63af60a0d9

View file

@ -26,9 +26,9 @@ if [ ! -f "$__object/parameter/nofstab" ]; then
( (
printf "%s" "$(cat "$__object/parameter/device")" printf "%s" "$(cat "$__object/parameter/device")"
printf " %s" "$path" printf " %s" "$path"
type="$(cat "$__object/parameter/type" || echo "auto")" type="$(cat "$__object/parameter/type" 2>/dev/null || echo "auto")"
printf " %s" "$type" printf " %s" "$type"
options="$(cat "$__object/parameter/options" || echo "defaults")" options="$(cat "$__object/parameter/options" 2>/dev/null || echo "defaults")"
printf " %s" "$options" printf " %s" "$options"
printf " %s" "$(cat "$__object/parameter/dump")" printf " %s" "$(cat "$__object/parameter/dump")"
printf " %s\n" "$(cat "$__object/parameter/pass")" printf " %s\n" "$(cat "$__object/parameter/pass")"