Skip to content

Instantly share code, notes, and snippets.

@lazerl0rd
Created October 9, 2023 23:01
Show Gist options
  • Save lazerl0rd/5133917bbd61bc6f7a025d888f79be5e to your computer and use it in GitHub Desktop.
Save lazerl0rd/5133917bbd61bc6f7a025d888f79be5e to your computer and use it in GitHub Desktop.
#! /usr/bin/env bash
case "$1" in
"get")
if [[ -f /tmp/mkinitcpio-defer ]]; then
rm /tmp/mkinitcpio-defer
exit 0
else
exit 1
fi
;;
"set")
touch /tmp/mkinitcpio-defer
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment