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

@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "rfkill-0.4";
name = "rfkill-0.5";
src = fetchurl {
url = "http://wireless.kernel.org/download/rfkill/${name}.tar.bz2";
sha256 = "1hb884vgyldci648azbx17w83gzynn0svrmfjgh3c2jzga1f846a";
url = "mirror://kernel/software/network/rfkill/${name}.tar.bz2";
sha256 = "01zs7p9kd92pxgcgwl5w46h3iyx4acfg6m1j5fgnflsaa350q5iy";
};
makeFlags = "PREFIX=$(out)";

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