Skip to content

Commit d649b17

Browse files
committed
doc: update documentation and comments
1 parent 612babe commit d649b17

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

auditing/Lynis Installer/lynis-installer

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#
33
# A script for installing and running lynis with recommended options.
44
#
5-
# Version: v1.0.5
5+
# Version: v1.0.6
66
# License: MIT License
7-
# Copyright (c) 2020-2023 Hunter T. (StrangeRanger)
7+
# Copyright (c) 2020-2024 Hunter T. (StrangeRanger)
88
#
99
########################################################################################
10-
#### [ Variables ]
10+
####[ Script Wide Variables ]###########################################################
1111

1212

1313
green="$(printf '\033[0;32m')"
@@ -16,9 +16,7 @@ red="$(printf '\033[1;31m')"
1616
nc="$(printf '\033[0m')"
1717

1818

19-
##### End of [ Variables ]
20-
########################################################################################
21-
#### [ Prepping ]
19+
####[ Prepping ]########################################################################
2220

2321

2422
## Check if the script was executed with root privilege.
@@ -29,9 +27,7 @@ if [[ $EUID != 0 ]]; then
2927
fi
3028

3129

32-
#### End of [ Prepping ]
33-
########################################################################################
34-
#### [ Main ]
30+
####[ Main ]############################################################################
3531

3632

3733
read -rp "We will now download lynis. Press [Enter] to continue."
@@ -54,7 +50,3 @@ chown -R root:root lynis
5450
echo -e "\n${green}Lynis has been downloaded to your system"
5551
echo -e "${cyan}To perform a system scan with lynis, execute the following command in" \
5652
"the lynis root directory: sudo ./lynis audit system${nc}"
57-
58-
59-
#### End of [ Main ]
60-
########################################################################################

0 commit comments

Comments
 (0)