Changeset e814bfe in bootscripts-standard for bootscripts/clfs


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

Location:
bootscripts/clfs/init.d
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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.