aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-10-31 03:30:21 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:27:44 +0200
commitc04ccf2a56358595b0f7d43be9b584491cdd748f (patch)
tree1523a19773f25361438ca594373a1a47bfc3a982 /src
parenteb7f5815272a56e3e489835d01eeed7bd21b4c32 (diff)
wibble
Diffstat (limited to 'src')
-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