rfkill: Update to 0.5

This commit is contained in:
Eelco Dolstra
2014-01-27 15:45:18 +01:00
parent 4ae9de41ff
commit 1348aa5c42
2 changed files with 7 additions and 7 deletions

View File

@@ -10,10 +10,10 @@ if [ -z "$RFKILL_STATE" ]; then
exit 1
fi
if [ -x /var/run/current-system/etc/rfkill.hook ]; then
exec /var/run/current-system/etc/rfkill.hook
if [ -x /run/current-system/etc/rfkill.hook ]; then
exec /run/current-system/etc/rfkill.hook
elif [ ! -z "$RFKILL_HOOK" ]; then
exec $RFKILL_HOOK
else
echo "rfkill-hook: $RFKILL_STATE"
fi
fi