local file="$1"
local file_name="${file##*/}"
- local begin="#_#_# start delimiter of cedit section$name. do not modify. #_#_#"
- local end="#_#_# end delimiter of cedit section$name. do not modify. #_#_#"
+ local comment
+ comment="#_#_#"
+
+ # bind zone files use ; for comments yes, a little hacky detection.
+ if [[ $file_name == db.* ]]; then
+ comment=";;_;_;"
+ fi
+ local begin="$comment start delimiter of cedit section$name. do not modify. $comment"
+ local end="$comment end delimiter of cedit section$name. do not modify. $comment"
if [[ ! -e $file_dir ]]; then
if ! mkdir -p $file_dir; then