X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_bin%2Fgrml-lock;fp=usr_bin%2Fgrml-lock;h=673be73db61b5951c692acf110693eafeb3497a6;hb=efc668569ca3e23a6594307ededdd7e8933988ec;hp=0d479225d978b21d1e521e1b97892f8e177fd3fe;hpb=864c9afd72bdf1191f020e714e145d25553b0ddc;p=grml-scripts.git diff --git a/usr_bin/grml-lock b/usr_bin/grml-lock index 0d47922..673be73 100755 --- a/usr_bin/grml-lock +++ b/usr_bin/grml-lock @@ -14,7 +14,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then echo "${PN}: wrapper script to lock desktop This script is a wrapper to lock your desktop session -through the vlock application. +through the physlock application. Usage: just execute $PN without any further options." exit 0 @@ -22,7 +22,7 @@ fi if [ -r /etc/grml/script-functions ] ; then . /etc/grml/script-functions - check4progs vlock sudo chpasswd dialog || { echo "Sorry, necessary tools missing - can not continue. Exiting.">&2 ; exit 1 ; } + check4progs physlock sudo chpasswd dialog || { echo "Sorry, necessary tools missing - can not continue. Exiting.">&2 ; exit 1 ; } fi PWD_TEXT1="Set password (hidden typing):" @@ -44,7 +44,7 @@ and therefore might not work as intended." 7 70 fi lock_desktop() { - vlock -a -n -s + sudo physlock -u "$USER" } is_passwd_set() {