Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
454 B · 19 lines
Shell
1234567891011121314151617181920#!@shell@
# Executes a hook in case of a change to the# rfkill state. The hook can be passed as# environment variable, or present as executable# file.
if [ -z "$RFKILL_STATE" ]; then echo "rfkill-hook: error: RFKILL_STATE variable not set" exit 1fi
if [ -x /run/current-system/etc/rfkill.hook ]; then exec /run/current-system/etc/rfkill.hookelif [ ! -z "$RFKILL_HOOK" ]; then exec $RFKILL_HOOKelse echo "rfkill-hook: $RFKILL_STATE"fi