mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 07:34:23 +00:00
feat(install.sh): dependancies finder
This commit is contained in:
@@ -2,6 +2,24 @@
|
||||
|
||||
source /usr/local/bin/notifications.sh
|
||||
|
||||
# initialize_config() {
|
||||
# local isInstalling="$1"
|
||||
# local target_file="$2"
|
||||
# local crontab_configuration="$3"
|
||||
# local link_path="$4"
|
||||
|
||||
# if [[ $isInstalling != "--install" ]]; then
|
||||
# return;
|
||||
# fi
|
||||
|
||||
# echo "$crontab_configuration $0" | crontab -
|
||||
# }
|
||||
|
||||
# install_para="$1"
|
||||
# if [[ $install_para == "--install" ]]; then
|
||||
|
||||
# fi
|
||||
|
||||
case "$PAM_TYPE" in
|
||||
open_session)
|
||||
PAYLOAD=" { \"text\": \"$PAM_USER logged in (remote host: $PAM_RHOST) at $(date).\" }"
|
||||
|
||||
Reference in New Issue
Block a user