Current Dir: /snap/canonical-livepatch/414/snap/hooks/ [FILE] configure [ edit | delete | rename ] [FILE] connect-plug-etc-update-motd-d [ edit | delete | rename ] [FILE] disconnect-plug-etc-update-motd-d [ edit | delete | rename ] [FILE] post-refresh [ edit | delete | rename ] [FILE] remove [ edit | delete | rename ] Viewing: /snap/canonical-livepatch/414/snap/hooks/post-refresh #!/bin/sh # Run any steps that should occur after the snap is refreshed here. # Note that we use || true to ignore permission denied errors. cp -f "$SNAP/resources/99-livepatch-kernel-upgrade-required" /etc/update-motd.d/99-livepatch-kernel-upgrade-required || true