-
-
Save mkdynamic/1652e7dede41d5916bcd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
awk=$(which awk || echo 'missing: install awk' && exit 1) | |
# update apt | |
sudo apt-get update | |
# get ssl related packages from simulated upgrade | |
sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get install | |
# bounce ssl using services | |
sudo lsof -n | grep ssl | grep deleted | $awk '{print $1}' | uniq | echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment