mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 09:10:15 +01:00
Update common.sh
This commit is contained in:
@@ -504,19 +504,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
parse_value_jail_conf() {
|
|
||||||
|
|
||||||
# Escape special charcters for compatability with jail.conf files
|
|
||||||
# Only "." for now
|
|
||||||
|
|
||||||
local _string="${1}"
|
|
||||||
|
|
||||||
_escaped_string="$(echo ${_string} | sed 's#\.#\\\.#g')"
|
|
||||||
|
|
||||||
echo "${_escaped_string}"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
validate_netconf() {
|
validate_netconf() {
|
||||||
|
|
||||||
# Add default 'bastille_network_vnet_type' on old config file
|
# Add default 'bastille_network_vnet_type' on old config file
|
||||||
|
|||||||
Reference in New Issue
Block a user