From c04ccf2a56358595b0f7d43be9b584491cdd748f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 31 Oct 2013 03:30:21 +0100 Subject: wibble --- src/fripost-partman-udeb/base.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh index 114e678..691ff32 100644 --- a/src/fripost-partman-udeb/base.sh +++ b/src/fripost-partman-udeb/base.sh @@ -15,12 +15,12 @@ true ${DEBIAN_HAS_FRONTEND:=} ${DEBCONF_REDIR:=} # Log a message. log() { - logger -t fripost -- "$@" + logger -t fripost -p syslog.info -- "$@" } # Log a fatal error and quit. fatal() { - logger -t fripost -p user.err -- "$@" + logger -t fripost -p syslog.err -- "$@" exit 1 } @@ -274,8 +274,7 @@ fripost_encrypt() { fi # Load dm-crypt - /sbin/dmsetup targets | cut -d' ' -f1 | grep -q '^crypt$' \ - || /sbin/modprobe -v dm_crypt + /sbin/dmsetup targets | grep -q '^crypt\s' || /sbin/modprobe -v dm_crypt log "cryptsetup options: $@" db_progress START 0 100 fripost/cryptsetup-genkey_progress_title -- cgit v1.2.3