Get more help from gcc, add -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2...
[sysvinit.git] / src / paths.h
CommitLineData
a74aeac6
PR
1/*
2 * paths.h Paths of files that init and related utilities need.
3 *
4 * Version: @(#) paths.h 2.85-8 05-Nov-2003
5 *
6 * Author: Miquel van Smoorenburg, <miquels@cistron.nl>
7 *
8 * This file is part of the sysvinit suite,
9 * Copyright (C) 1991-2001 Miquel van Smoorenburg.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 */
25#define VT_MASTER "/dev/tty0" /* Virtual console master */
26#define CONSOLE "/dev/console" /* Logical system console */
27#define SECURETTY "/etc/securetty" /* List of root terminals */
28#define SDALLOW "/etc/shutdown.allow" /* Users allowed to shutdown */
29#define INITTAB "/etc/inittab" /* Location of inittab */
30#define INIT "/sbin/init" /* Location of init itself. */
31#define NOLOGIN "/etc/nologin" /* Stop user logging in. */
32#define FASTBOOT "/fastboot" /* Enable fast boot. */
33#define FORCEFSCK "/forcefsck" /* Force fsck on boot */
34#define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */
35#define SHELL "/bin/sh" /* Default shell */
36#define SULOGIN "/sbin/sulogin" /* Sulogin */
37#define INITSCRIPT "/etc/initscript" /* Initscript. */
364b4b0b 38#define PWRSTAT_OLD "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
1414572e 39#define PWRSTAT "/var/run/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
a74aeac6
PR
40
41#if 0
42#define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */
43#define INITLVL2 "/var/log/initrunlvl" /* COMPAT: New runlevel */
44 /* Note: INITLVL2 definition needs INITLVL */
45#define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */
46#define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */
47#define REBOOTSCRIPT1 "/etc/init.d/reboot" /* Ditto. */
48#define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */
49#endif
50