summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 23:23:28 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 23:23:28 +0000
commit805920ff321ecf12fcc8d68377797a806dbd491e (patch)
tree3e81dcb4412e13d0f9d9045757d05be279d545b9 /usr
parentb45baead49d8c82d8bd654b20a3645dad896412b (diff)
downloadsmartcardauth-805920ff321ecf12fcc8d68377797a806dbd491e.tar.gz
smartcardauth-805920ff321ecf12fcc8d68377797a806dbd491e.zip
Correct the update-initramfs syntax in smartcardauth
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1254705 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'usr')
-rwxr-xr-xusr/bin/setupcard.sh10
-rwxr-xr-xusr/bin/setupslavecard.sh2
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/bin/setupcard.sh b/usr/bin/setupcard.sh
index bd553d4..dc052a0 100755
--- a/usr/bin/setupcard.sh
+++ b/usr/bin/setupcard.sh
@@ -553,7 +553,7 @@ function createlukskey {
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
@@ -640,7 +640,7 @@ function importlukskey {
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
@@ -776,7 +776,7 @@ while [[ 1 -eq 1 ]]; do
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
@@ -841,7 +841,7 @@ while [[ 1 -eq 1 ]]; do
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
@@ -941,7 +941,7 @@ while [[ 1 -eq 1 ]]; do
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
diff --git a/usr/bin/setupslavecard.sh b/usr/bin/setupslavecard.sh
index 9e54890..4d43318 100755
--- a/usr/bin/setupslavecard.sh
+++ b/usr/bin/setupslavecard.sh
@@ -465,7 +465,7 @@ while [[ 1 -eq 1 ]]; do
chmod 600 /usr/bin/smartauth.sh
chmod a+x /usr/bin/smartauth.sh
echo "Updating initramfs"
- update-initramfs -u all
+ update-initramfs -u -k all
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth