]>
git.wh0rd.org - sysvinit.git/blob - src/paths.h
2 * paths.h Paths of files that init and related utilities need.
4 * Version: @(#) paths.h 2.85-8 05-Nov-2003
6 * Author: Miquel van Smoorenburg, <miquels@cistron.nl>
8 * This file is part of the sysvinit suite,
9 * Copyright (C) 1991-2001 Miquel van Smoorenburg.
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.
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.
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
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. */
38 #define PWRSTAT "/var/run/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
41 #define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */
42 #define INITLVL2 "/var/log/initrunlvl" /* COMPAT: New runlevel */
43 /* Note: INITLVL2 definition needs INITLVL */
44 #define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */
45 #define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */
46 #define REBOOTSCRIPT1 "/etc/init.d/reboot" /* Ditto. */
47 #define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */