diff options
author | Ludwig Nussel | 2012-05-25 10:54:23 +0200 |
---|---|---|
committer | Ludwig Nussel | 2012-05-25 10:55:40 +0200 |
commit | 9c44ac503f0d18348518f195b36c4ea83ab0ca76 (patch) | |
tree | c3b63cf412fe5abd99f00a58cf524f9325d4c060 /login-utils/logindefs.h | |
parent | syslog always (diff) | |
download | kernel-qcow2-util-linux-9c44ac503f0d18348518f195b36c4ea83ab0ca76.tar.gz kernel-qcow2-util-linux-9c44ac503f0d18348518f195b36c4ea83ab0ca76.tar.xz kernel-qcow2-util-linux-9c44ac503f0d18348518f195b36c4ea83ab0ca76.zip |
use existing logindefs.c and pathnames.h
I'm not sure having /usr/local in _PATH_DEFPATH_ROOT and even putting it
in front is such a good idea though. /usr/local might be on NFS so could
prevent root from logging in if the network is down.
Diffstat (limited to 'login-utils/logindefs.h')
-rw-r--r-- | login-utils/logindefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/login-utils/logindefs.h b/login-utils/logindefs.h index 163869dfd..24e946ef5 100644 --- a/login-utils/logindefs.h +++ b/login-utils/logindefs.h @@ -1,6 +1,8 @@ #ifndef UTIL_LINUX_LOGINDEFS_H #define UTIL_LINUX_LOGINDEFS_H +extern void logindefs_load_file(const char *filename); +extern void (*logindefs_load_defaults)(void); extern int getlogindefs_bool(const char *name, int dflt); extern long getlogindefs_num(const char *name, long dflt); extern const char *getlogindefs_str(const char *name, const char *dflt); |