From cb1ddfc15431f2e6498c93cd4da53e14f1147659 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 19 Feb 2012 20:06:26 -0500 Subject: sysinit: remove cryptsetup compat We haven't had the static binary in nearly 2 years, so simply call this without a PATH lookup. Signed-off-by: Dave Reisner --- functions | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'functions') diff --git a/functions b/functions index 747e42d..129b3d4 100644 --- a/functions +++ b/functions @@ -379,17 +379,6 @@ activate_vgs() { (( $? == 0 )) && stat_done || stat_fail } -# Arch cryptsetup packages traditionally contained the binaries -# /usr/sbin/cryptsetup -# /sbin/cryptsetup.static -# By default, initscripts used the /sbin/cryptsetup.static. -# Newer packages will only have /sbin/cryptsetup and no static binary -# This ensures maximal compatibility with the old and new layout -for CS in /sbin/cryptsetup /usr/sbin/cryptsetup \ - /sbin/cryptsetup.static ''; do - [[ -x $CS ]] && break -done - read_crypttab() { # $1 = function to call with the split out line from the crypttab local line nspo failed=0 -- cgit v1.2.3