Skip to content

Add verbosity when using '-force' command line option. #2

Closed
@ruralroots

Description

@ruralroots

I wanted additional verbosity both from the daily cron run and when manually running the ./gen_wg_config.sh using '-f' command line option. I have added this code snippet to gen_wg_config.sh after line 122 that addresses the issue.

        echo "TODAYS DATE"              # Display Run Date
        echo ""${now}""                 # and Time
        echo ""                         #
        echo "KEYS EXPIRE ON:"          # Display Authentication Token
        echo "${expire_date}"           # Expiry Date and Time
        logger -t SSWG "RUN DATE:${now}   KEYS EXPIRE ON: ${expire_date}"       # Log Status Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions