diff options
author | Karel Zak | 2006-12-07 00:25:33 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:33 +0100 |
commit | 726f69e29ca9d4842f3acb20fffd2466fda62c09 (patch) | |
tree | abbc1b6e9bfb0dfe32e81a83648e261ccb2d5a5f /bsd/pathnames.h | |
parent | Imported from util-linux-2.2 tarball. (diff) | |
download | kernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.tar.gz kernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.tar.xz kernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.zip |
Imported from util-linux-2.5 tarball.
Diffstat (limited to 'bsd/pathnames.h')
-rw-r--r-- | bsd/pathnames.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bsd/pathnames.h b/bsd/pathnames.h index 7dca388e0..b37c6793d 100644 --- a/bsd/pathnames.h +++ b/bsd/pathnames.h @@ -38,19 +38,19 @@ #undef _PATH_MAILDIR #ifndef SBINDIR -#define SBINDIR "/etc" +#define SBINDIR "/sbin" #endif #ifndef USRSBINDIR -#define USRSBINDIR "/etc" +#define USRSBINDIR "/usr/sbin" #endif #ifndef LOGDIR -#define LOGDIR "/etc" +#define LOGDIR "/var/log" #endif #ifndef VARPATH -#define VARPATH "/usr" +#define VARPATH "/var" #endif #define _PATH_BSHELL "/bin/sh" @@ -59,7 +59,7 @@ #define _PATH_TTY "/dev/tty" #define TTYTYPES "/etc/ttytype" #define SECURETTY "/etc/securetty" -#define _PATH_UTMP LOGDIR "/utmp" +#define _PATH_UTMP "/var/run/utmp" #define _PATH_WTMP LOGDIR "/wtmp" #define _PATH_DEFPATH "/usr/local/bin:/bin:/usr/bin:." @@ -81,6 +81,7 @@ #define _PATH_MTAB "/etc/mtab" #define _PATH_UMOUNT "/bin/umount" #define UMOUNT_ARGS "umount", "-a" +#define SWAPOFF_ARGS "swapoff", "-a" #define _PATH_PASSWD "/etc/passwd" #define _PATH_PTMP "/etc/ptmp" |