projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added xlockmore to suggests, added check for vlock in grml-lock.
[grml-scripts.git]
/
usr_bin
/
grml-lock
diff --git
a/usr_bin/grml-lock
b/usr_bin/grml-lock
index
2d75050
..
e6e50e1
100755
(executable)
--- a/
usr_bin/grml-lock
+++ b/
usr_bin/grml-lock
@@
-4,11
+4,16
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: S
am Mai 27 15:12:24 CEST 2006
[mika]
+# Latest change: S
on Mär 18 16:41:49 CET 2007
[mika]
################################################################################
PN=$0
################################################################################
PN=$0
+if [ -r /etc/grml/script-functions ] ; then
+ . /etc/grml/script-functions
+ check4progs vlock xlock sudo chpasswd dialog || { echo "Sorry, can't continue. Exiting.">&2 ; exit 1 }
+fi
+
if [ -r /etc/grml_version ] ; then
else
dialog --stdout --title "$PN" --msgbox "Warning: this system does not look like a grml-system
if [ -r /etc/grml_version ] ; then
else
dialog --stdout --title "$PN" --msgbox "Warning: this system does not look like a grml-system