mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 01:02:36 +01:00
Update common.sh
This commit is contained in:
@@ -504,19 +504,6 @@ EOF
|
||||
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() {
|
||||
|
||||
# Add default 'bastille_network_vnet_type' on old config file
|
||||
|
||||
Reference in New Issue
Block a user