~ubuntu-branches/debian/experimental/sysvinit/experimental

« back to all changes in this revision

Viewing changes to .pc/11_run_nologin.patch/src/paths.h

  • Committer: Package Import Robot
  • Author(s): Roger Leigh, Roger Leigh, Michael Stapelberg
  • Date: 2012-07-28 20:09:11 UTC
  • mfrom: (9.1.47 sid)
  • Revision ID: package-import@ubuntu.com-20120728200911-1xa3ydm5a46lyrjd
Tags: 2.88dsf-41+jessie1
[ Roger Leigh ]
* initscripts:
  - Move /etc/nologin and /var/lib/initscripts/nologin to
    /run/nologin.  This means that nologin is always created on
    a writable, available filesystem.  Closes: #660862.
  - Remove code to generate /etc/mtab.  /etc/mtab is now always a
    symbolic link to /proc/mounts.  Closes: #630723.
  - Remove incorrect use of break in case blocks in vars.sh.  Thanks
    to Raphaël Hertzog for this patch.  Closes: #701031.
  - /etc/network/if-up.d/mountnfs: Skip lo if already configured.
    Closes: #705052.  Thanks to Timo Weingärtner.
* sysvinit:
  - Document length limit of 127 in inittab process field.  Thanks
    to Johannes Truschnigg.  Closes: #693960.
* sysv-rc:
  - Fix typo in invoke-rc.d(8).  Closes: #683804.  Thanks to
    Martin-Éric Racine.

[ Michael Stapelberg ]
* systemd: update check to look for /run/systemd/system.
  Closes: #703571
* sysv-rc:
  - Add systemd support to update-rc.d(8) and invoke-rc.d(8).
    Closes: #683084.
  - service(8): use systemctl on machines that run systemd.
    Closes: #704923

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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. */
 
38
#define PWRSTAT_OLD     "/etc/powerstatus"      /* COMPAT: SIGPWR reason (OK/BAD) */
 
39
#define PWRSTAT         "/var/run/powerstatus"  /* COMPAT: SIGPWR reason (OK/BAD) */
 
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