Changeset 623081a


Ignore:
Timestamp:
10/04/2023 01:52:42 PM (8 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
4d63404, a494cc5
Parents:
363fece4
git-author:
Pierre Labastie <pierre.labastie@…> (10/04/2023 01:50:38 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (10/04/2023 01:52:42 PM)
Message:

bootscripts: change "halt stop" to "halt start"

Commit 27d23b1d has changed the convention that scripts with Sxxx
symlinks should be run with "stop" parameter in runlevels 0 and 6.
They should now be called with the more intuitive "start" parameter.
But a few scripts still call "/etc/init.d/halt stop". Fortunately, this
occurs in code paths that are rarely run (unrecoverable errors). So it
was not noticed until now. Anyway, this is fixed in this commit.

Location:
bootscripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/ChangeLog

    r363fece4 r623081a  
     12023-10-04 Pierre Labastie <pierre.labastie@neuf.fr>
     2   * After the changes done on 2022-03-24, several "halt stop" should
     3     have been changed to "halt start". Done now. Fortunately, those
     4     occur only when something wrong happens with disks or devices.
     5
    162023-07-28 Xi Ruoyao <xry111@xry111.site>
    27   * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254.
     
    2530     - S scripts only started if not already marked S in the previous runlevel
    2631     - K scripts only started if not already marked K in the previous runlevel
    27      - remove the convention of running S scripts ith "stop" in rl 0/6
     32     - remove the convention of running S scripts with "stop" in rl 0/6
    28332021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    2934   * When shutting down the network, ignore invalid interfaces
  • bootscripts/lfs/init.d/checkfs

    r363fece4 r623081a  
    6464         log_info_msg "Press Enter to continue..."
    6565         wait_for_user
    66          /etc/rc.d/init.d/halt stop
     66         /etc/rc.d/init.d/halt start
    6767      else
    6868         log_success_msg2
     
    128128         log_info_msg "Press Enter to continue..."
    129129         wait_for_user
    130          /etc/rc.d/init.d/halt stop
     130         /etc/rc.d/init.d/halt start
    131131      fi
    132132
  • bootscripts/lfs/init.d/udev

    r363fece4 r623081a  
    4242         log_info_msg "Press Enter to continue..."
    4343         wait_for_user
    44          /etc/rc.d/init.d/halt stop
     44         /etc/rc.d/init.d/halt start
    4545      fi
    4646
Note: See TracChangeset for help on using the changeset viewer.