Projet

Général

Profil

Révision 8589c6df

ID8589c6df431fd7ff21e97992b1496b3727b9492f
Parent e3169d59
Enfant 71149527

Ajouté par klemens il y a plus de 8 ans

spelling fixes (2nd try)

Voir les différences:

plugins/network/netatalk3
47 47
function count_connected_users () {
48 48
    local afpd_bin_path=$1
49 49
    afpd_procs=$(ps anx --no-headers -o uid,command |grep -E "\w+\d+*\s${afpd_bin_path}" |wc -l)
50
    # one of those processess will be always from root user, so it's not being
50
    # one of those processes will be always from root user, so it's not being
51 51
    # used to externaly connect volumes, therefor being disconsider.
52 52
    echo $(echo "${afpd_procs} - 1" |bc)
53 53
}
......
119 119
        #### Boilerplates ####################################################
120 120
        # Locating AFP related files:
121 121
        #  * Binary: Using the first result of "which" command;
122
        #  * Config: Using "afpd" with paremeters to pring configuration file
122
        #  * Config: Using "afpd" with parameters to pring configuration file
123 123
        #            location;
124 124
        #
125 125

  

Formats disponibles : Unified diff