summarylogtreecommitdiffstats
path: root/openvas.install
blob: 7f45e02659619a706a28de093e3abebc09d2a9a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
    echo
    echo "##########################################################"
    echo "#         Before starting to use openvas run the         #"
    echo "#         following post installation tasks:             #"
    echo "##########################################################"
    echo '# echo "net.core.somaxconn = 1024" >> /etc/sysctl.conf   #'
    echo '# echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf    #'
    echo "# sysctl -p                                              #"
    echo "##########################################################"
    echo
    echo "It may be necessary to setup sudo to allow the gvm user"
    echo "access to openvas-scanner:"
    echo "https://greenbone.github.io/docs/latest/22.4/source-build/index.html#setting-up-sudo-for-scanning"
    echo
 }

post_upgrade() {
    post_install
}