aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fripost-partman-udeb')
-rw-r--r--src/fripost-partman-udeb/base.sh7
1 files changed, 3 insertions, 4 deletions
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