Changeset e814bfe in bootscripts-standard for bootscripts
- Timestamp:
- 07/10/14 03:25:23 (10 years ago)
- Branches:
- master
- Children:
- 421f21a
- Parents:
- 27f8c17
- Location:
- bootscripts
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/CHANGELOG.lfs
r27f8c17 re814bfe 482 482 483 483 * 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. 485 485 * Moved udev from contrib to lfs 486 486 * Moved GATEWAY setup from /etc/rc.d/init.d/network to -
bootscripts/Changelog
r27f8c17 re814bfe 1 Chris - July 10, 2014 2 * Changed "/var/run" references to "/run" 3 1 4 William - May 21, 2014 2 5 * Change versioning to drop Pre1 and use a date -
bootscripts/cblfs/init.d/autofs
r27f8c17 re814bfe 146 146 147 147 stop) 148 # Kill all automounters listed in / var/run148 # Kill all automounters listed in /run 149 149 ls ${piddir}/${pidroot}.*.pid 2>/dev/null | 150 150 ( -
bootscripts/cblfs/init.d/dbus
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 pidfile=/ var/run/dbus/pid14 socket=/ var/run/dbus/system_bus_socket13 pidfile=/run/dbus/pid 14 socket=/run/dbus/system_bus_socket 15 15 16 16 case "$1" in -
bootscripts/cblfs/init.d/gdm
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 pidfile=/ var/run/gdm.pid13 pidfile=/run/gdm.pid 14 14 15 15 export PATH=$PATH:/opt/gnome/bin:/opt/gnome/sbin -
bootscripts/cblfs/init.d/gpm
r27f8c17 re814bfe 12 12 . $rc_functions 13 13 14 pidfile=/ var/run/gpm.pid14 pidfile=/run/gpm.pid 15 15 16 16 if [ -f /etc/sysconfig/mouse ] -
bootscripts/cblfs/init.d/haldaemon
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 pidfile=/ var/run/hald/pid13 pidfile=/run/hald/pid 14 14 15 15 case "$1" in -
bootscripts/cblfs/init.d/heimdal
r27f8c17 re814bfe 14 14 start) 15 15 boot_mesg -n "Starting KDC Server Daemon..." 16 if test -f "/ var/run/kdc.pid"16 if test -f "/run/kdc.pid" 17 17 then 18 18 boot_mesg "kdc already running!" ${WARNING} … … 21 21 /usr/sbin/kdc & 22 22 sleep 1 23 if test -f "/ var/run/kdc.pid"23 if test -f "/run/kdc.pid" 24 24 then 25 25 echo "" … … 31 31 fi 32 32 boot_mesg -n "Starting KDC kpasswdd Daemon..." 33 if test -f "/ var/run/kpasswdd.pid"33 if test -f "/run/kpasswdd.pid" 34 34 then 35 35 boot_mesg "kpasswdd already running!" ${WARNING} … … 38 38 /usr/sbin/kpasswdd & 39 39 sleep 1 40 if test -f "/ var/run/kpasswdd.pid"40 if test -f "/run/kpasswdd.pid" 41 41 then 42 42 echo "" … … 48 48 fi 49 49 boot_mesg -n "Starting KDC kadmind Daemon..." 50 if test -f "/ var/run/kadmind.pid"50 if test -f "/run/kadmind.pid" 51 51 then 52 52 boot_mesg "kadmind already running!" ${WARNING} … … 55 55 /usr/sbin/kadmind & 56 56 sleep 1 57 if test -f "/ var/run/kadmind.pid"57 if test -f "/run/kadmind.pid" 58 58 then 59 59 echo "" -
bootscripts/cblfs/init.d/nfs-server
r27f8c17 re814bfe 88 88 # Remove a pid file that isn't done automatically 89 89 boot_mesg "Removing the rpc.statd pid file if it exists" 90 if [ -f / var/run/rpc.statd.pid ]; then91 rm -f / var/run/rpc.statd.pid90 if [ -f /run/rpc.statd.pid ]; then 91 rm -f /run/rpc.statd.pid 92 92 fi 93 93 -
bootscripts/cblfs/init.d/ntp
r27f8c17 re814bfe 8 8 . $rc_functions 9 9 10 pidfile=/ var/run/ntpd.pid10 pidfile=/run/ntpd.pid 11 11 12 12 case "$1" in -
bootscripts/cblfs/init.d/samba
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 smbdpid=/ var/run/smbd.pid14 nmbdpid=/ var/run/nmbd.pid13 smbdpid=/run/smbd.pid 14 nmbdpid=/run/nmbd.pid 15 15 16 16 case "$1" in -
bootscripts/cblfs/init.d/sshd
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 pidfile=/ var/run/sshd.pid13 pidfile=/run/sshd.pid 14 14 15 15 case "$1" in -
bootscripts/cblfs/init.d/winbind
r27f8c17 re814bfe 11 11 . $rc_functions 12 12 13 PIDFILE="/ var/run/winbindd.pid"13 PIDFILE="/run/winbindd.pid" 14 14 KILLDELAY="10" 15 15 -
bootscripts/cblfs/sysconfig/autofs.conf
r27f8c17 re814bfe 17 17 localoptions='' 18 18 daemonoptions='--timeout 60' 19 piddir=/ var/run19 piddir=/run 20 20 pidroot=autofs 21 21 -
bootscripts/cblfs/sysconfig/network-devices/services/dhcpcd
r27f8c17 re814bfe 10 10 . $IFCONFIG 11 11 12 pidfile="/ var/run/dhcpcd-$1.pid"12 pidfile="/run/dhcpcd-$1.pid" 13 13 14 14 case "$2" in -
bootscripts/clfs/init.d/cleanfs
r27f8c17 re814bfe 79 79 -delete || failed=1 80 80 81 > / var/run/utmp81 > /run/utmp 82 82 if grep -q '^utmp:' /etc/group ; then 83 chmod 664 / var/run/utmp84 chgrp utmp / var/run/utmp83 chmod 664 /run/utmp 84 chgrp utmp /run/utmp 85 85 fi 86 86 -
bootscripts/clfs/init.d/functions
r27f8c17 re814bfe 418 418 "ID(s) ${pidlist}.${NORMAL}" 419 419 else 420 if [ -n "${base}" -a -e "/ var/run/${base}.pid" ]; then420 if [ -n "${base}" -a -e "/run/${base}.pid" ]; then 421 421 ${ECHO} -e "${WARNING}${1} is not running but"\ 422 "/ var/run/${base}.pid exists.${NORMAL}"422 "/run/${base}.pid exists.${NORMAL}" 423 423 else 424 424 if [ -n "${pidfile}" -a -e "${pidfile}" ]; then -
bootscripts/clfs/init.d/functions.minimal
r27f8c17 re814bfe 418 418 "ID(s) ${pidlist}.${NORMAL}" 419 419 else 420 if [ -n "${base}" -a -e "/ var/run/${base}.pid" ]; then420 if [ -n "${base}" -a -e "/run/${base}.pid" ]; then 421 421 ${ECHO} -e "${WARNING}${1} is not running but"\ 422 "/ var/run/${base}.pid exists.${NORMAL}"422 "/run/${base}.pid exists.${NORMAL}" 423 423 else 424 424 if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.