mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 22:45:23 +01:00
Corrected default file path
This commit is contained in:
parent
b74a5fe19e
commit
e9487bfb04
@ -54,11 +54,11 @@ while [[ $# > 0 ]]; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -71,11 +71,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -71,11 +71,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -71,11 +71,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -76,11 +76,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -39,11 +39,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -31,11 +31,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -65,11 +65,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -27,11 +27,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -56,11 +56,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -56,11 +56,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -56,11 +56,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -44,11 +44,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -44,11 +44,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -40,11 +40,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -52,11 +52,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -50,11 +50,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -69,11 +69,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -94,11 +94,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -62,11 +62,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -61,11 +61,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -43,11 +43,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -66,11 +66,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -55,11 +55,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -64,11 +64,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -51,11 +51,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -62,11 +62,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -61,11 +61,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -39,11 +39,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -44,11 +44,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -41,11 +41,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -42,11 +42,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -74,11 +74,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -73,11 +73,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -74,11 +74,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -74,11 +74,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -54,11 +54,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -46,11 +46,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -45,11 +45,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -52,11 +52,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
@ -56,11 +56,11 @@ check_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Source Root Dir Parameter
|
# Source Root Dir Parameter
|
||||||
if [ ! -r /etc/default/cis-hardenning ]; then
|
if [ ! -r /etc/default/cis-hardening ]; then
|
||||||
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
|
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
|
||||||
exit 128
|
exit 128
|
||||||
else
|
else
|
||||||
. /etc/default/cis-hardenning
|
. /etc/default/cis-hardening
|
||||||
if [ -z $CIS_ROOT_DIR ]; then
|
if [ -z $CIS_ROOT_DIR ]; then
|
||||||
echo "No CIS_ROOT_DIR variable, aborting"
|
echo "No CIS_ROOT_DIR variable, aborting"
|
||||||
fi
|
fi
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user