Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From f71cc920528c3496b0118964ebbcf5440cda4ed1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Wed, 16 Aug 2017 13:37:40 +0800 |
| 4 | Subject: [PATCH] vlock: add new recipe |
| 5 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | Upstream-Status: Inappropriate [configuration] |
| 7 | |
| 8 | written by: Jeff Polk <jeff.polk@windriver.com> |
| 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 10 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | --- |
| 12 | man/vlock.1 | 5 ----- |
| 13 | src/vlock.sh | 5 ----- |
| 14 | 2 files changed, 10 deletions(-) |
| 15 | |
| 16 | diff --git a/man/vlock.1 b/man/vlock.1 |
| 17 | index 0d29b49..01cb944 100644 |
| 18 | --- a/man/vlock.1 |
| 19 | +++ b/man/vlock.1 |
| 20 | @@ -111,11 +111,6 @@ enter your password at the password prompt. If this variable is unset or set |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 21 | to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is |
| 22 | too low, you may not be able to unlock your session. |
| 23 | .PP |
| 24 | -.SH FILES |
| 25 | -.B ~/.vlockrc |
| 26 | -.IP |
| 27 | -This file is read by \fBvlock\fR on startup if it exists. All the variables |
| 28 | -mentioned above can be set here. |
| 29 | .SH SECURITY |
| 30 | See the SECURITY file in the \fBvlock\fR distribution for more information. |
| 31 | .PP |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 32 | diff --git a/src/vlock.sh b/src/vlock.sh |
| 33 | index 75f1369..f572776 100644 |
| 34 | --- a/src/vlock.sh |
| 35 | +++ b/src/vlock.sh |
| 36 | @@ -35,11 +35,6 @@ This TTY is now locked. |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 37 | |
| 38 | ${VLOCK_ENTER_PROMPT}" |
| 39 | |
| 40 | -# Read user settings. |
| 41 | -if [ -r "${HOME}/.vlockrc" ] ; then |
| 42 | - . "${HOME}/.vlockrc" |
| 43 | -fi |
| 44 | - |
| 45 | # "Compile" time variables. |
| 46 | VLOCK_MAIN="%PREFIX%/sbin/vlock-main" |
| 47 | VLOCK_VERSION="%VLOCK_VERSION%" |