blob: 2412bb8debfaf791f4c4d389fe203535082e694c [file] [log] [blame]
From f71cc920528c3496b0118964ebbcf5440cda4ed1 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Wed, 16 Aug 2017 13:37:40 +0800
Subject: [PATCH] vlock: add new recipe
Upstream-Status: Inappropriate [configuration]
written by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
man/vlock.1 | 5 -----
src/vlock.sh | 5 -----
2 files changed, 10 deletions(-)
diff --git a/man/vlock.1 b/man/vlock.1
index 0d29b49..01cb944 100644
--- a/man/vlock.1
+++ b/man/vlock.1
@@ -111,11 +111,6 @@ enter your password at the password prompt. If this variable is unset or set
to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is
too low, you may not be able to unlock your session.
.PP
-.SH FILES
-.B ~/.vlockrc
-.IP
-This file is read by \fBvlock\fR on startup if it exists. All the variables
-mentioned above can be set here.
.SH SECURITY
See the SECURITY file in the \fBvlock\fR distribution for more information.
.PP
diff --git a/src/vlock.sh b/src/vlock.sh
index 75f1369..f572776 100644
--- a/src/vlock.sh
+++ b/src/vlock.sh
@@ -35,11 +35,6 @@ This TTY is now locked.
${VLOCK_ENTER_PROMPT}"
-# Read user settings.
-if [ -r "${HOME}/.vlockrc" ] ; then
- . "${HOME}/.vlockrc"
-fi
-
# "Compile" time variables.
VLOCK_MAIN="%PREFIX%/sbin/vlock-main"
VLOCK_VERSION="%VLOCK_VERSION%"