Changeset e814bfe in bootscripts-standard


Ignore:
Timestamp:
Jul 10, 2014, 3:25:23 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
master
Children:
421f21a
Parents:
27f8c17
Message:

Changed all /var/run references to /run

Files:
22 edited

Legend:

Unmodified
Added
Removed
  • boot-scripts/CHANGELOG.lfs

    r27f8c17 re814bfe  
    482482
    483483        * Update to the console script, prevent install of the console script
    484         * Chgrp /var/run/utmp to group utmp if it exists.
     484        * Chgrp /run/utmp to group utmp if it exists.
    485485        * Moved udev from contrib to lfs
    486486        * Moved GATEWAY setup from /etc/rc.d/init.d/network to
  • boot-scripts/Changelog

    r27f8c17 re814bfe  
     1Chris - July 10, 2014
     2        * Changed "/var/run" references to "/run"
     3
    14William - May 21, 2014
    25    * Change versioning to drop Pre1 and use a date
  • boot-scripts/clfs/init.d/cleanfs

    r27f8c17 re814bfe  
    7979                        -delete || failed=1
    8080
    81                 > /var/run/utmp
     81                > /run/utmp
    8282                if grep -q '^utmp:' /etc/group ; then
    83                         chmod 664 /var/run/utmp
    84                         chgrp utmp /var/run/utmp
     83                        chmod 664 /run/utmp
     84                        chgrp utmp /run/utmp
    8585                fi
    8686
  • boot-scripts/clfs/init.d/functions

    r27f8c17 re814bfe  
    418418                        "ID(s) ${pidlist}.${NORMAL}"
    419419        else
    420                 if [ -n "${base}" -a -e "/var/run/${base}.pid" ]; then
     420                if [ -n "${base}" -a -e "/run/${base}.pid" ]; then
    421421                        ${ECHO} -e "${WARNING}${1} is not running but"\
    422                                 "/var/run/${base}.pid exists.${NORMAL}"
     422                                "/run/${base}.pid exists.${NORMAL}"
    423423                else
    424424                        if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
  • bootscripts/CHANGELOG.lfs

    r27f8c17 re814bfe  
    482482
    483483        * Update to the console script, prevent install of the console script
    484         * Chgrp /var/run/utmp to group utmp if it exists.
     484        * Chgrp /run/utmp to group utmp if it exists.
    485485        * Moved udev from contrib to lfs
    486486        * Moved GATEWAY setup from /etc/rc.d/init.d/network to
  • bootscripts/Changelog

    r27f8c17 re814bfe  
     1Chris - July 10, 2014
     2        * Changed "/var/run" references to "/run"
     3
    14William - May 21, 2014
    25    * Change versioning to drop Pre1 and use a date
  • bootscripts/cblfs/init.d/autofs

    r27f8c17 re814bfe  
    146146
    147147    stop)
    148         # Kill all automounters listed in /var/run
     148        # Kill all automounters listed in /run
    149149        ls ${piddir}/${pidroot}.*.pid 2>/dev/null |
    150150        (
  • bootscripts/cblfs/init.d/dbus

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 pidfile=/var/run/dbus/pid
    14 socket=/var/run/dbus/system_bus_socket
     13pidfile=/run/dbus/pid
     14socket=/run/dbus/system_bus_socket
    1515
    1616case "$1" in
  • bootscripts/cblfs/init.d/gdm

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 pidfile=/var/run/gdm.pid
     13pidfile=/run/gdm.pid
    1414
    1515export PATH=$PATH:/opt/gnome/bin:/opt/gnome/sbin
  • bootscripts/cblfs/init.d/gpm

    r27f8c17 re814bfe  
    1212. $rc_functions
    1313
    14 pidfile=/var/run/gpm.pid
     14pidfile=/run/gpm.pid
    1515
    1616if [ -f /etc/sysconfig/mouse ]
  • bootscripts/cblfs/init.d/haldaemon

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 pidfile=/var/run/hald/pid
     13pidfile=/run/hald/pid
    1414
    1515case "$1" in
  • bootscripts/cblfs/init.d/heimdal

    r27f8c17 re814bfe  
    1414        start) 
    1515                boot_mesg -n "Starting KDC Server Daemon..."
    16                 if test -f "/var/run/kdc.pid"
     16                if test -f "/run/kdc.pid"
    1717                then
    1818                        boot_mesg "kdc already running!" ${WARNING}
     
    2121                        /usr/sbin/kdc &
    2222                        sleep 1
    23                         if test -f "/var/run/kdc.pid"
     23                        if test -f "/run/kdc.pid"
    2424                        then
    2525                                echo ""
     
    3131                fi
    3232                boot_mesg -n "Starting KDC kpasswdd Daemon..."
    33                 if test -f "/var/run/kpasswdd.pid"
     33                if test -f "/run/kpasswdd.pid"
    3434                then
    3535                        boot_mesg "kpasswdd already running!" ${WARNING}
     
    3838                        /usr/sbin/kpasswdd &
    3939                        sleep 1
    40                         if test -f "/var/run/kpasswdd.pid"
     40                        if test -f "/run/kpasswdd.pid"
    4141                        then
    4242                                echo ""
     
    4848                fi
    4949                boot_mesg -n "Starting KDC kadmind Daemon..."
    50                 if test -f "/var/run/kadmind.pid"
     50                if test -f "/run/kadmind.pid"
    5151                then
    5252                        boot_mesg "kadmind already running!" ${WARNING}
     
    5555                        /usr/sbin/kadmind &
    5656                        sleep 1
    57                         if test -f "/var/run/kadmind.pid"
     57                        if test -f "/run/kadmind.pid"
    5858                        then
    5959                                echo ""
  • bootscripts/cblfs/init.d/nfs-server

    r27f8c17 re814bfe  
    8888                # Remove a pid file that isn't done automatically
    8989                boot_mesg "Removing the rpc.statd pid file if it exists"
    90                 if [ -f /var/run/rpc.statd.pid ]; then
    91                     rm -f /var/run/rpc.statd.pid
     90                if [ -f /run/rpc.statd.pid ]; then
     91                    rm -f /run/rpc.statd.pid
    9292                fi
    9393
  • bootscripts/cblfs/init.d/ntp

    r27f8c17 re814bfe  
    88. $rc_functions
    99
    10 pidfile=/var/run/ntpd.pid
     10pidfile=/run/ntpd.pid
    1111
    1212case "$1" in
  • bootscripts/cblfs/init.d/samba

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 smbdpid=/var/run/smbd.pid
    14 nmbdpid=/var/run/nmbd.pid
     13smbdpid=/run/smbd.pid
     14nmbdpid=/run/nmbd.pid
    1515
    1616case "$1" in
  • bootscripts/cblfs/init.d/sshd

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 pidfile=/var/run/sshd.pid
     13pidfile=/run/sshd.pid
    1414
    1515case "$1" in
  • bootscripts/cblfs/init.d/winbind

    r27f8c17 re814bfe  
    1111. $rc_functions
    1212
    13 PIDFILE="/var/run/winbindd.pid"
     13PIDFILE="/run/winbindd.pid"
    1414KILLDELAY="10"
    1515
  • bootscripts/cblfs/sysconfig/autofs.conf

    r27f8c17 re814bfe  
    1717localoptions=''
    1818daemonoptions='--timeout 60'
    19 piddir=/var/run
     19piddir=/run
    2020pidroot=autofs
    2121
  • bootscripts/cblfs/sysconfig/network-devices/services/dhcpcd

    r27f8c17 re814bfe  
    1010. $IFCONFIG
    1111
    12 pidfile="/var/run/dhcpcd-$1.pid"
     12pidfile="/run/dhcpcd-$1.pid"
    1313
    1414case "$2" in
  • bootscripts/clfs/init.d/cleanfs

    r27f8c17 re814bfe  
    7979                        -delete || failed=1
    8080
    81                 > /var/run/utmp
     81                > /run/utmp
    8282                if grep -q '^utmp:' /etc/group ; then
    83                         chmod 664 /var/run/utmp
    84                         chgrp utmp /var/run/utmp
     83                        chmod 664 /run/utmp
     84                        chgrp utmp /run/utmp
    8585                fi
    8686
  • bootscripts/clfs/init.d/functions

    r27f8c17 re814bfe  
    418418                        "ID(s) ${pidlist}.${NORMAL}"
    419419        else
    420                 if [ -n "${base}" -a -e "/var/run/${base}.pid" ]; then
     420                if [ -n "${base}" -a -e "/run/${base}.pid" ]; then
    421421                        ${ECHO} -e "${WARNING}${1} is not running but"\
    422                                 "/var/run/${base}.pid exists.${NORMAL}"
     422                                "/run/${base}.pid exists.${NORMAL}"
    423423                else
    424424                        if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
  • bootscripts/clfs/init.d/functions.minimal

    r27f8c17 re814bfe  
    418418                        "ID(s) ${pidlist}.${NORMAL}"
    419419        else
    420                 if [ -n "${base}" -a -e "/var/run/${base}.pid" ]; then
     420                if [ -n "${base}" -a -e "/run/${base}.pid" ]; then
    421421                        ${ECHO} -e "${WARNING}${1} is not running but"\
    422                                 "/var/run/${base}.pid exists.${NORMAL}"
     422                                "/run/${base}.pid exists.${NORMAL}"
    423423                else
    424424                        if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
Note: See TracChangeset for help on using the changeset viewer.