aboutsummaryrefslogtreecommitdiff
path: root/scripts/naskconf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/naskconf')
-rwxr-xr-xscripts/naskconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/naskconf b/scripts/naskconf
index f7c9f5d..5f82f22 100755
--- a/scripts/naskconf
+++ b/scripts/naskconf
@@ -14,8 +14,8 @@ _nask_cmd () {
return 1
fi
dpkg-divert --package naskpass --add --rename --divert /var/backups/cryptroot.initramfs.bak ${ORGFILE}
- cp /usr/share/naskpass/naskpass.script.initramfs ${ORGFILE}
- ln -s /usr/share/naskpass/naskpass.hook.initramfs \
+ cp /usr/share/naskpass/naskpass.initscript ${ORGFILE}
+ ln -s /usr/share/naskpass/naskpass.inithook \
/usr/share/initramfs-tools/hooks/naskpass
db_set naskpass/active true
elif [ "x$1" = "xDCTV" ] && [ "$RET" = "true" ]; then
@@ -24,7 +24,7 @@ _nask_cmd () {
dpkg-divert --package naskpass --rename --remove ${ORGFILE}
db_set naskpass/active false
elif [ "x$1" = "xUPDT" ] && [ "$RET" = "true" ]; then
- cp /usr/share/naskpass/naskpass.script.initramfs ${ORGFILE}
+ cp /usr/share/naskpass/naskpass.initscript ${ORGFILE}
fi
return 0
}