| /* |
| * paths.h Paths of files that init and related utilities need. |
| * |
| * Version: @(#) paths.h 2.85-8 05-Nov-2003 |
| * |
| * Author: Miquel van Smoorenburg, <miquels@cistron.nl> |
| * |
| * This file is part of the sysvinit suite, |
| * Copyright 1991-2001 Miquel van Smoorenburg. |
| * |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License |
| * as published by the Free Software Foundation; either version |
| * 2 of the License, or (at your option) any later version. |
| */ |
| #ifdef __CYGWIN__ |
| #define VT_MASTER "/dev/cons0" |
| #elif defined __INTERIX |
| #define VT_MASTER "/dev/ttyn00" |
| #else |
| #define VT_MASTER "/dev/tty0" /* Virtual console master */ |
| #endif |
| #define CONSOLE "/dev/console" /* Logical system console */ |
| #define SECURETTY "/etc/securetty" /* List of root terminals */ |
| #define SDALLOW "/etc/shutdown.allow" /* Users allowed to shutdown */ |
| #define INITTAB "/etc/inittab" /* Location of inittab */ |
| #define INIT "/sbin/init" /* Location of init itself. */ |
| #define NOLOGIN "/etc/nologin" /* Stop user logging in. */ |
| #define FASTBOOT "/fastboot" /* Enable fast boot. */ |
| #define FORCEFSCK "/forcefsck" /* Force fsck on boot */ |
| #define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */ |
| #define SHELL "/bin/sh" /* Default shell */ |
| #define SULOGIN "/sbin/sulogin" /* Sulogin */ |
| #define INITSCRIPT "/etc/initscript" /* Initscript. */ |
| #define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */ |
| |
| #if 0 |
| #define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */ |
| #define INITLVL2 "/var/log/initrunlvl" /* COMPAT: New runlevel */ |
| /* Note: INITLVL2 definition needs INITLVL */ |
| #define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */ |
| #define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */ |
| #define REBOOTSCRIPT1 "/etc/init.d/reboot" /* Ditto. */ |
| #define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */ |
| #endif |
| |
| #if defined _UTMPX_H || defined _UTMPX_H_ || defined UTMPX_H |
| |
| #ifndef UTMPX_FILE |
| #if defined UTMPX_FILENAME |
| #define UTMPX_FILE UTMPX_FILENAME |
| #elif defined _UTMPX_FILE |
| #define UTMPX_FILE _UTMPX_FILE |
| #elif defined _PATH_UTMPX |
| #define UTMPX_FILE _PATH_UTMPX |
| #elif defined __FreeBSD__ |
| #define UTMPX_FILE "/var/run/utx.active" |
| #elif defined __SVR4 || defined __INTERIX |
| #define UTMPX_FILE "/var/adm/utmpx" |
| #else |
| #define UTMPX_FILE "/var/run/utmpx" |
| #endif |
| #endif /* !UTMPX_FILE */ |
| |
| #ifndef WTMPX_FILE |
| #if defined WTMPX_FILENAME |
| #define WTMPX_FILE WTMPX_FILENAME |
| #elif defined _WTMPX_FILE |
| #define WTMPX_FILE _WTMPX_FILE |
| #elif defined _PATH_WTMPX |
| #define WTMPX_FILE _PATH_WTMPX |
| #elif defined _PATH_WTMP |
| #define WTMPX_FILE _PATH_WTMP |
| #elif defined __FreeBSD__ |
| #define WTMPX_FILE "/var/log/utx.log" |
| #else |
| #define WTMPX_FILE "/var/log/wtmpx" |
| #endif |
| #endif /* !WTMPX_FILE */ |
| |
| #endif |