source: bootscripts/ChangeLog@ 25596ffb

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 25596ffb was 25596ffb, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Make stopping the network interfaces more robust.
SysV only.

When stopping or rebooting the system, the network boot script is run and looks
at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files
refer to may not be active or even refer to interfaces that are not defined on
the current system. This change ignores non-existant interfaces and any
interfaces that are not UP. This change also avoids bogus warning or error
error messages when the system is shutting down.

  • Property mode set to 100644
File size: 42.3 KB
RevLine 
[25596ffb]12021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
2 * When shutting down the network, ignore invalid interfaces
3 or interfaces that are not UP.
4
[9804e16]52021-06-02 Thomas Trepl <thomas@linuxfromscratch.org>
6 * Prevent sendsignals from killing an active mdmon
7
[49e360b9]82021-04-28 Bruce Dubbs <bdubbs@linuxfromscratch.org>
9 * Make check_signal more robust.
10 * Use a better methog for killproc to remove a dead pid file.
11 * Clarify what signals killproc accepts.
[25596ffb]12 * Thanks to input and discussion from Scott Andrews.
[49e360b9]13
[305ab2a]142021-02-01 Bruce Dubbs <bdubbs@linuxfromscratch.org>
15 * Tweak mountfs to properly exit when an error is found.
16
[02776dff]172021-01-13 Xi Ruoyao <xry111@mengyan1223.wang>
18 * Use /run instead of deprecated /var/run
19
[3c784d8]202020-10-02 DJ Lucas <dj@linuxfromscratch.org>
21 * make $local_fs a Should-Stop dependency of swap to allow clean install
22
[ba82c18]232020-08-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
24 * Fix a minor display problem in checkfs
25
[84a2932]262019-10-31 DJ Lucas <dj@linuxfromscratch.org>
27 * Syslog should not start in runlevel 2 due to network logging
[b9560f3]28 * Remove errant swap dependency for checkfs
[84a2932]29
[11e7880]302019-10-04 DJ Lucas <dj@linuxfromscratch.org>
[5f66ac8]31 * Additional updates to facilities in LSB headers to keep proper order
32 * Network script depends on firewall scripts from BLFS if activated
[11e7880]33
[6903d5e]342019-09-02 DJ Lucas <dj@linuxfromscratch.org>
35 * Update facilities in LSB headers
36
[94cea1d]372015-06-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
38 * Unmount network file systems before bringing down the network
39 * Spell out some mount/umount options
40
[b875e19]412017-03-25 DJ Lucas <dj@linuxfromscratch.org>
42 * Bash-4.4 changes no longer allow continue in function to pass to calling
43 loop.
44
[b7804ae]452015-02-22 Bruce Dubbs <bdubbs@linuxfromscratch.org>
46 * Cosmetic changes to network scripts' output
47
[f42cce0]482015-02-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
49 * Modify ipv4-static to support ethernet labels
50 * Output a newline if an interface is skipped during boot
51
[5632647]522014-12-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
53 * Clarify rationale for sysklog run levels
54
[d9ddcb3]552014-11-10 Bruce Dubbs <bdubbs@linuxfromscratch.org>
56 * Make /run/lock have 1777 permissions
57
[87af6d6]582014-07-06 Bruce Dubbs <bdubbs@linuxfromscratch.org>
59 * Remove obsolete reference to /proc/sys/kernel/hotplug in udev boot script
60
[0bf4dfe]612014-07-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
62 * Remove obsolete check for /proc/ksyms in modules boot script
63
[6bd5f11]642014-06-29 Bruce Dubbs <bdubbs@linuxfromscratch.org>
65 * Remove systemd references and files
66
[cba2d4e]672014-03-31 Bruce Dubbs <bdubbs@linuxfromscratch.org>
68 * Changes made to be consistent with common systemd functions
69
[a93258d]702013-08-21 Bruce Dubbs <bdubbs@linuxfromscratch.org>
71 * Delete duplicate entry in rc.site file.
72
[0c5d002]732013-08-05 Bruce Dubbs <bdubbs@linuxfromscratch.org>
74 * Use STATIC_GATEWAY for ipv4-static-route purposes
75
[28c4c1e]762013-05-15 Bruce Dubbs <bdubbs@linuxfromscratch.org>
77 * Remove unneeded options and commands from mountfs and
78 mountvirtfs when mtab is a symlink to /proc/self/mounts
79
[df02b59]802013-05-11 Bruce Dubbs <bdubbs@linuxfromscratch.org>
81 * Make sure the root fs is mounted read only in mountfs
82 before halting
83
[53ea84b]842013-01-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
85 * Remove local attribue of some variables for Bourne
86 shell compatability
87 * Specify /bin/echo in commands with -e switch for
88 Bourne shell compatability
89
[12574f2]902012-10-13 Bruce Dubbs <bdubbs@linuxfromscratch.org>
91 * Remove unneeded sleep in killproc
92 * Add option for verbose fsck
93 * Flatten directory structure of tarball
94 * Remove /fastboot or /forcecheck if set
95
[1005bde]962012-09-05 Bruce Dubbs <bdubbs@linuxfromscratch.org>
97 * Add udevadm trigger --action=change line to udev script
98 to support initramfs better
99
[d163ada]1002012-08-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
101 * Read /etc/sysconfig/console when needed in rc
102
[7b08ae24]1032012-06-17 Bruce Dubbs <bdubbs@linuxfromscratch.org>
104 * Only mount /run in mountvirtfs if it is not already mounted
105 (from an initrd).
106 * Force the /dev/shm->/run/shm symlink
107 * Skip making LVM virtual groups unavailable at shutdown
108 because the / or swap partitions may be still in use.
109
[9a70048]1102012-05-30 Bruce Dubbs <bdubbs@linuxfromscratch.org>
111 * Copy all entries in /lib/udev/devices to /dev in mounvirtfs
112
[1025b2a]1132012-05-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
114 * Remove mkdir from mountvirtfs because fs is read only
115
[9bb0228]1162012-04-09 Bruce Dubbs <bdubbs@linuxfromscratch.org>
117
118 * General update of network scripts ifup/ifdown and services
119 ** Add if_true utility function to init_functions
120 ** Change variable INTERFACES to COMPONENT_INTERFACES for bridge interface
121 ** ifdown now only uses the first SERVICE
122 ** Updated ifup.8 to reflect current usage
123 ** ifup
124 *** Move interface up logic to after service scripts. Eliminates the
125 need for the LINK_CHECK variable.
126 *** Sets the GATEWAY if the variable is set
127 *** Add MTU logic to ifup
128
[f70b664]1292012-01-22 Matt Burgess <matthew@linuxfromscratch.org>
130
131 * lfs/init.d/udev: Change udevd path following upstream changes to its
132 location
133
[ef504c2]1342011-12-23 Matt Burgess <matthew@linuxfromscratch.org>
135
136 * lfs/init.d/mountvirtfs: Correct permissions on /run/shm
137
[642e2e9]1382011-11-28 DJ Lucas <dj@linuxfromscratch.org>
139
140 * lfs/init.d/mountfs: Add '-t nosysfs' to umount command
141 * lfs/init.d/mountvirtfs: remove unneeded spaces in output
[701d877e]142 * lfs/init.d/rc: Correct double interactive prompt and set prompt defaults
[642e2e9]143 * lfs/init.d/setclock: Remove screen output from start case (udev)
144 * lfs/init.d/udev{,_retry}: Restore output to screen and log
[cb02946]145 * lfs/sbin/ifup: Change "..." to ": " (not awaiting additional output)
[642e2e9]146
[9813d5e3]1472011-11-14 Bruce Dubbs <bdubbs@linuxfromscratch.org>
148
149 * The following are from suggestions by DJ Lucas
150 ** General cleanup of scripts
151 ** Move consolelog function to rc
152 ** Clean up boot logging functions
153 ** Fix interactive prompt between run level S and target run level
154
[2a1c1e0]1552011-10-06 Bryan Kadzban <bryan@linuxfromscratch.org>
156
157 * Add configuration for udev_retry, and remove --type=failed (which does
158 not work with recent udev versions anyway, since no events can possibly
159 trigger it). Start with just the "rtc" subsystem. BLFS should eventually
160 add "sound" to this file, and perhaps others.
161
1622011-09-18
[f874424]163 * Review and update of changes made in previous change.
164 ** Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
165 ** Move network services to /lib/services.
166 ** Move init-functions to /lib/lsb.
167 *** /lib/lsb is a symlink to /lib/services.
168 * Create convenience symlink /etc/init.d->/etc/rc.d/init.d.
169 * Add help and man pages to upup/ifdown.
170 * Append /run/var/bootlog to /var/log/boot.log at the end of
171 the boot sequence.
172 * Add capabiltiy to step through the boot scripts at boot time
173 * Optionally allow environment variables in sysconfig directory's
174 console, network, and clock files to be placed in rc.site.
175 * Add an optional FASTBOOT parameter to set /fastboot when rebooting.
176
[0cda898]1772011-07-14 Bruce Dubbs <bdubbs@linuxfromscratch.org>
178 * Major rewrite of all LFS scripts
179 ** Move ifup/ifdown to /sbin
180 ** Move functions and network services to /lib/boot
181 ** Remove contrib directory
182 ** Move all READ commands to functions and allow the user to specify
183 HEADLESS=1 to skip READ commands
184 ** Add /etc/sysconfig/init_params for adding environmental parameters
185 to all functions used in bootscripts
186 ** Move network configuration to /etc/sysconfig/ifconfig.*. The
[cb02946]187 ifconfig files can have any extension. Use IFACE parameter to
[0cda898]188 specify the target network interface within the configuration file.
189 ** Adds an optional parameter, SKIPTMPCLEAN, to skip the removal of
190 files in /tmp at bootup. Specify the variable in
191 /etc/sysconfig/init_params.
192
1932011-05-31 DJ Lucas <dj@linuxfromscratch.org>
[43c2ecf0]194 * lfs/init.d/udev: Add multiple udev triggers for both subsystems and
195 devices per upstream recommendation.
196
[0cda898]1972011-04-19 Bruce Dubbs <bdubbs@linuxfromscratch.org>
[386b3177]198 * lfs/init.d/mountvirtfs: Add creation of /run/{var,lock,shm}.
199 * lfs/init.d/udev: Add /dev/shm -> /run/shm symlink.
200
[0cda898]2012011-04-18 Bruce Dubbs <bdubbs@linuxfromscratch.org>
[9f318ba]202 * lfs/init.d/mountvirtfs: Change name from mountkernfs to mountvirtfs.
203 Add mounting of /run filesystem.
204
[0cda898]2052010-05-29 Matt Burgess <matthew@linuxfromscratch.org>
[f2ca25f]206 * lfs/init.d/udev: Only copy /lib/udev/devices/null, as Udev >= 155 copies
207 devices from /lib/udev/devices to /dev itself. Udevd still needs /dev/null
208 present before starting up though.
209
[0cda898]2102010-04-20 Bryan Kadzban <bryan@linuxfromscratch.org>
[d3eda3d]211 * lfs/init.d/udev, lfs/init.d/udev_retry: Add --action=add, to handle udev
212 version 152 and newer, which send "change" events by default in udevtrigger
213 now.
214
[f78845c]2152010-01-24 Matthew Burgess <matthew@linuxfromscratch.org>
216 * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
217 under an initramfs environment. See ticket #2550.
218
[42d8d33c]2192009-08-14 Bryan Kadzban <bryan@linuxfromscratch.org>
220 * lfs/init.d/udev_retry: Use "udevadm trigger --type=failed", which
221 apparently replaced "--retry-failed" some time ago. "--retry-failed" is
222 removed in udev-146.
223
[4c0c012]2242009-01-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
225 * lfs/init.d/functions:
226 * lfs/sysconfig/network-devices/ifup:
[cb02946]227 Updated line widths to accommodate pdf generation in both the above
[4c0c012]228 files.
229
2302008-10-27 DJ Lucas <dj@linuxfromscratch.org>
231 * lfs/init.d/cleanfs: Removed '! -newer /proc' from find commands in
232 check for stale files in /var/lock and /var/run.
233 * Makefile: Reversed cleanfs and udev_retry scripts so that cleanfs
234 runs immediately after mountfs.
235
2362008-10-26 Dan Nicholson <dnicholson@linuxfromscratch.org>
237 * lfs/init.d/functions: Remove stale pid files when encountered
238 in loadproc/killproc/reloadproc. When the bootscript specifies
239 a pid file to use with the "-p pidfile" argument, *proc
240 functions previously bailed out when the referenced file
241 contains an invalid pid.
242
2432008-10-23 DJ Lucas <dj@linuxfromscratch.org>
244 * lfs/init.d/console: Removed BROKEN_COMPOSE as kernel patch has
245 been accepted upstream.
246
2472008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org>
248 * lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
249
2502007-08-20 DJ Lucas <dj@linuxfromscratch.org>
251 * lfs/init.d/setclock: Added missing 'stop' argument to usage text
252
2532007-08-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
254 * lfs/init.d/checkfs: Don't suppress error messages from the screen.
255
2562007-07-18 Dan Nicholson <dnicholson@linuxfromscratch.org>
257 * Makefile, lfs/init.d/consolelog: New bootscript controlling the
258 kernel log level on the console. This is controlled by the LOGLEVEL
259 variable in /etc/sysconfig/console.
260 * lfs/init.d/modules: Remove the log level handling since this is
261 done in the consolelog script now.
262 * lfs/init.d/modules: Clean up the script by removing the file
263 descriptor duplication and instead just redirecting
264 /etc/sysconfig/modules to the input of the while loop.
265
2662007-06-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
267 * lfs/init.d/mountfs, lfs/init.d/mountkernfs, lfs/init.d/setclock,
268 lfs/init.d/modules, lfs/sysconfig/network-devices/if{up,down}:
269 Don't suppress stderr during bootscripts unless necessary. This
270 would prevent potentially critical messages from reaching the screen.
271
2722007-04-24 Dan Nicholson <dnicholson@linuxfromscratch.org>
273 * lfs/init.d/functions: When killproc is executed, it checks that
274 the process is still running, sleeps if it is, then checks again.
275 The sleep is 1 second in between checks. By sleeping for 0.1 seconds
276 in between checks, killproc is much faster as it's wasting much
277 less time sleeping in the normal case that the process has died
278 after a short delay.
279
2802007-04-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
281 * lfs/init.d/functions: Redirect stderr when using kill to suppress
282 output.
283 * lfs/init.d/functions: killproc() was not handling the case where a
284 pidfile is passed to the function. The logic with the signal to be
285 used was causing issues with the handling of pidfiles. This has been
286 fixes, and now killproc() will recheck the process if the signal
287 was TERM (the default) or KILL.
288 * lfs/init.d/functions: statusproc() has been changed to use pidofproc()
289 instead of the deprecated getpids(). Additionally, it now accepts
290 the -p argument to specify a pidfile.
291 * lfs/init.d/functions: Currently, statusproc() always returns
292 successfully, and the only way to know if the process is running
293 is to parse the output. This changes statusproc() to return the
294 status of pidofproc(), which will return unsuccessfully if the
295 requested process is not running.
296 * lfs/init.d/functions: Changed reloadproc() to use pidofproc() and
297 respect the -p argument for pidfiles.
298 * lfs/init.d/sysklogd: Remove a useless argument to reloadproc().
299
3002007-03-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
301 * lfs/init.d/functions: If pidofproc() is passed the -p argument
302 it can bomb testing a null variable with an integer expression.
303
3042007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
305 * lfs/init.d/mountfs, lfs/init.d/console, lfs/init.d/setclock,
306 lfs/init.d/mountkernfs: &> redirection is not supported in POSIX.
307 Fortunately, it's equivalent to >word 2>&1 according to bash(1).
308
3092007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
310 * lfs/init.d/console: POSIX says that shells only need to trap on
311 signals. Trapping on ERR isn't always supported. Conditionals have
312 been added to set the $failed variable in spots that seemed
313 appropriate for checking errors.
314
3152007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
316 * lfs/init.d/functions: Use arithmetic expansion and string length,
317 which are both mandated by POSIX, rather than spawning two processes
318 every time boot_mesg() is called.
319
3202007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
321 * lfs/init.d/functions: In order to provide an `echo' which provides
322 handles the -e and -n options for all POSIX shells, a feature test
323 is added which stores its result in $ECHO. /bin/echo will be used
324 if the default echo is not capable. Changed the existing functions
325 to reference $ECHO when needed.
326 * lfs/init.d/console: Use $ECHO when -en is needed.
327
3282007-02-03 Bryan Kadzban <bryan@linuxfromscratch.org>
329 * ChangeLog: Rename from CHANGELOG, start using GNU style entries.
330
331 * Makefile: Move setclock before checkfs. Fixes #1948.
332
3332006-11-25 Bryan Kadzban <bryan@linuxfromscratch.org>
334 * lfs/init.d/udev_retry: Copy Debian's "copy generated rules" initscript
335 code, to clean up when the rule_generator scripts run before / is
336 writable. (Since the rule_generator code is from Debian, I assume their
337 cleanup code is appropriate.)
338
3392006-10-15 Bryan Kadzban <bryan@linuxfromscratch.org>
340 * lfs/init.d/udev_retry: Fix to work with udev >= 099.
[1c48007]341
342n/a - June 2, 2006
[4c0c012]343 * Removed console config file and makefile targets.
344 * Removed references to /dev/bug and bugreport in udevand
345 udev_retry bootscripts. (DJ Lucas)
[ed20c2d]346
[1c48007]347n/a - April 17, 2006
[4c0c012]348 * Updated udev script to use the new udevsettle program.
349 * Added udev_retry script for systems that have /usr on a different
350 partition or for some other reason fail the initial replay. (Archaic)
[1c48007]351
352n/a - April 15, 2006
[4c0c012]353 * Cleaned up contrib directory. Removed: contrib/init.d,
354 contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2
355 patch. (DJ Lucas)
[1c48007]356
357n/a - April 14, 2006
[4c0c012]358 * Merged changes from udev_update branch (DJ Lucas)
359 * Replaced a return with an exit and reversed comment changes in
360 udev bootscript. (Dan Nicholson)
361 * Replaced walk_sysfs function in udev bootscript with new udevtrigger
362 program and move wait_for_uevents function inline. (DJ Lucas)
363 * Removed extra evaluate_retval in udev bootscript. (Ken Moffat)
364 * Wait for uevents to be processed in the udev script. See ticket
365 #1720 for details. (Matthew Burgess)
[1c48007]366
367n/a - March 21, 2006
[4c0c012]368 * Removed old references to boot_log function and arguments passed
369 to boot_mesg_flush in echo_* functions. (DJ Lucas)
[1c48007]370
371n/a - March 10, 2006
[4c0c012]372 * Moved src argument to ipv4-static-route service script and
373 removed from ipv4-static service script. (DJ Lucas)
[1c48007]374
375n/a - March 8. 2006
[4c0c012]376 * Correct sourced path in checkfs script. (Matthew Burgess)
[1c48007]377
378n/a - December 31, 2005
[4c0c012]379 * Replaced /etc/rc.d with ${rc_base} in checkfs. (Vincent Fretin)
[1c48007]380
381n/a - December 24, 2005
[4c0c012]382 * Added UTF-8 support to console script. (Alexander E. Patrakov)
[1c48007]383
384n/a - September 11, 2005
[4c0c012]385 * Removed text wraping and boot logging.
386 * Changed killproc to use warning if not running
387 * Changed 'print_status warning' to use old style output
388 * Fixed display error with LSB init-functions script
389 * Made above killproc/print_status changes in enhanced
390 bootscripts.
391 * Made logger service configurable in enhanced
392 bootscripts. (DJ Lucas)
[1c48007]393
394n/a - August 14, 2005
[4c0c012]395 * Added -s flag to pidofproc() for backwards
396 compatibility (DJ Lucas)
397 * Fixed erronous values returned by pidofproc() which
398 broke the functionality of statusproc (DJ Lucas)
[1c48007]399
400n/a - July 1, 2005
[4c0c012]401 * Changed a == to a = in lfs/init.d/functions, in the boot_mesg
402 function for ash compliancy (Nathan Coulson)
[1c48007]403
404n/a - June 26, 2005
[4c0c012]405 * Removed consolelog script from contrib
406 * Updated interactive rc script in contrib and added
407 README.rc-Interactive, added install target to the
408 Makefile. (DJ Lucas)
[1c48007]409
4103.2.2 - May 29, 2005
[4c0c012]411 * Tagged as 3.2.2 (Nathan Coulson)
[1c48007]412
413n/a - May 26, 2005
[4c0c012]414 * Added minimal target for cross-lfs book (Jim Gifford)
415 * Fixed raq2 patch (Jim Gifford)
[1c48007]416
4173.2.1 - May 1, 2005
[4c0c012]418 * Tagged as 3.2.1 (Nathan Coulson)
[1c48007]419
420n/a - April 17, 2005
[4c0c012]421 * removed touch from hotplug bootscript (Matthew Burgess)
422 * moved commands around in localnet bootscript (Andrew Benton)
[1c48007]423
4243.2.0 - March 30, 2005
[4c0c012]425 * Changed from syslog-ng to sysklogd (Archaic)
426 * Temporairly changed loadproc to return 0 if the program is
427 already running (Nathan Coulson)
428 * Fixed (by reverting) ifup/ifdown/network (Nathan Coulson),
429 Reported by Jim Gifford
430 * Fixed network up/down along with adding support of ONHOTPLUG
431 * Tagged as 3.2.0
[1c48007]432
433n/a - March 19, 2005
[4c0c012]434 * Updated RaQ2 patch (Jim Gifford)
435 * Added net.agent for Hotplug of Network adapters in contrib
436 (Jim Gifford)
[1c48007]437
438n/a - March 16, 2005
[4c0c012]439 * Reverted the change from loadproc to start_daemon,
440 Moved compatibility code into one single function.
441 (Nathan Coulson)
442 * Readded the ONHOTPLUG option for ifup/ifdown (Nathan Coulson)
443 * Fixed killproc's output
[1c48007]444
445n/a - March 01, 2005
[4c0c012]446 * Added CHECK_LINK variable in ifconfig.*/*, so if the
447 interface does not exist, it will not fail.
448 (Nathan Coulson)
[1c48007]449
450n/a - February 19, 2005
[4c0c012]451 * Added evaluate_retval to the end of loadproc and killproc.
452 lsb does not say that killproc should print [ OK ],
453 but required for compatibility. (Nathan Coulson)
[1c48007]454
455n/a - February 9, 2005
[cb02946]456 * Accidentally mounted /dev with 775 instead of 755, fixed
[4c0c012]457 (Reported by Alexander E. Patrakov)
[1c48007]458
459n/a - February 9, 2005
[4c0c012]460 * Bugfix for /dev, now mounted with 755 permission
[1c48007]461
462n/a - February 8, 2005
[cb02946]463 * changed pidof, so it doesn't check the process id
[4c0c012]464 of running bootscripts, and to process shell scripts
465 (Nathan Coulson)
[1c48007]466
467n/a - February 6, 2005
[4c0c012]468 * Updated main functions file with lsb functions file
469 Should now be LSB compliant (Nathan Coulson)
[1c48007]470
471n/a - January 10, 2005
[4c0c012]472 * Moved ONBOOT check back to network (Nathan Coulson)
473 * Removed ONHOTPLUG check (Nathan Coulson)
[1c48007]474
475n/a - January 6, 2005
[4c0c012]476 * fixed mountkernfs output (Nathan Coulson)
477 * reverted mountfs fakemounting (Nathan Coulson)
[1c48007]478
479n/a - January 5, 2005
[4c0c012]480 * Attempted to simplify network bootup files (Nathan Coulson)
481 * Modified mountkernfs to use mountpoint (Nathan Coulson)
482 * Assuming sysfs is always mounted (Nathan Coulson)
483 * Moved fakemount to below mounting (Nathan Coulson)
484 * Removed -t noramfs from umount, as we now use tmpfs (Nathan Coulson)
485 * moved sysctl from mountkernfs to sysctl (Nathan Coulson)
486 * Added -q to sysctl (Nathan Coulson)
[1c48007]487
488n/a - January 2, 2005
[4c0c012]489 * Fixed statusproc output. (DJ Lucas)
[1c48007]490
4913.1.0 - December 31, 2004
[4c0c012]492 * fixed textoutput
493 * Tagged as 3.1.0
[1c48007]494
495n/a - December 30, 2004
[4c0c012]496 * Fixed name of LSB Functions file
497 * Changed boot_mesg to act like echo instead of echo -n, boot_mesg now
498 takes the -n argument if you do not wish to goto the next line
[1c48007]499
5003.0.1 - December 25, 2004
[4c0c012]501 * Released as 3.0.1
[1c48007]502
503n/a - December 20, 2004
[4c0c012]504 * Cleaned up header.
505 * Added RaQ2 Patch
[1c48007]506
507n/a - December 16, 2004
[4c0c012]508 * Fixed a text typo in udev, tmpfs instead of ramfs (Steve Crosby)
[1c48007]509
510n/a - December 14, 2004
[4c0c012]511 * Fixed a warning with find in cleanfs
[1c48007]512
513
5143.0 - December 8, 2004
515
516n/a - December 5, 2004
[4c0c012]517 * Moved bootlog to use local2 service to avoide conflict with
518 dhcpcd (DJ Lucas)
[1c48007]519
5203.0-rc1 - December 1, 2004
[4c0c012]521 * rc-Interactive added (DJ Lucas)
522 * rc-Interactive moved to contrib (Nathan Coulson)
[1c48007]523
524n/a - November 27, 2004
[4c0c012]525 * Moved bootlog to use local1 to avoid conflict with ppd (DJ Lucas)
[1c48007]526
527n/a - November 25, 2004
[4c0c012]528 * Added consolelog to contrib/sysconfig (DJ Lucas)
529 * Rewrite of line wraping in boot_mesg and various fixes
530 related to boot_mesg changes (DJ Lucas, Alexander Patrakov)
531 * syslog-ng is now installed by default (Jeremy Utley)
532 * hotplug is now installed by default (Jeremy Utley)
533 * udev now uses /sbin/hotplug as the default hotplug handler
534 (Nathan Coulson)
535 * udev now mounts a tmpfs instead of a ramfs onto /dev,
536 as suggested by Greg K-H (Nathan Coulson)
537 * Created contrib/lsb, and added a LSB compliant functions file
538 (Nathan Coulson, and Alexander Patrakov)
539 * Modified find [requires find 4.2.3+] (Matthew Burgess)
[1c48007]540
541n/a - November 20, 2004
[4c0c012]542 * Modifed modules script to return to previous kernel message
543 level (DJ Lucas)
[1c48007]544
545n/a - November 02, 2004
[4c0c012]546 * Added sysctl -p to mountkernfs (Matthew Burgess, DJ Lucas)
[1c48007]547
548n/a - October 07, 2004
[4c0c012]549 * statusproc modified not to send data to bootlog (Nathan Coulson)
550 * Fixed halt commands in checkfs and udev (James Robertson)
[1c48007]551
552n/a - October 04, 2004
[4c0c012]553 * Fixes to commit on 2004/09/30 (James Robertson)
554 * Revert a few changes until later (Nathan Coulson)
555 * Added a warning about switching from a 8bit font
556 to a 9bit font (Alexander Patrakov)
[1c48007]557
558n/a - September 30, 2004
[4c0c012]559 * Finished off boot_mesg() (James Robertson)
560 * Standardized all scripts to same variable format and other
561 internal sh/bash function calls (James Robertson)
562 * Fully implemented boot_mesg across all scripts in sysconfig
563 and init.d (James Robertson)
[1c48007]564
565n/a - September 26, 2004
[4c0c012]566 * Added BOOTMESG_PREFIX variable, so users can optionally set a
567 prefix for boot messages (James Robertson)
568 * Fixed localnet status, to use ip instead of ifconfig (Jim Gifford)
569 * Added consolelog to contrib (DJ Lucas)
570 * loadproc and killproc can have the -nomsg parameter to avoid
571 calling evaluate_retval or print_status (Jim Gifford)
572 * boot_mesg no longer explicitly adds a \n onto end of lines
573 * Added a function called boot_mesg_flush, which can
574 dump the BOOTMESG to the bootlog. This helps avoid making
575 everything have to end in OK/WARN/FAIL (Nathan Coulson)
[1c48007]576
577n/a - September 24, 2004
[4c0c012]578 * Removed /dev/udev.tdb test
[1c48007]579
580n/a - September 23, 2004
[4c0c012]581 * Fixed boot_log so it output's $@'s contents, not @$
582 * Added support for colors in boot_mesg (James Robertson)
583 * Modified udev's error checking
584 * Modified hotplug's error checking
585 * Converted checkfs's error handling to use boot_mesg with
586 color support
587 * Added $INFO color to functions (James Robertson)
[1c48007]588
589n/a - September 22, 2004
[4c0c012]590 * Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
591 * Fixed getpids, to remove unused pids obtained from $PIDFILE
592 * Removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed
593 space added to each additional sentence tacked onto BOOTMESG
594 * boot_mesg now handles \n's properly, and does not dimish the size of
595 the next line (James Robertson)
596 * boot_log has been added. The echo_ functions commit the log,
597 and then clear the BOOTMSG variable
598 * All scriptes have been converted to use boot_mesg
[1c48007]599
600n/a - September 21, 2004
[4c0c012]601 * boot_mesg has been enhanced. Subsequent calls will overwrite
602 previous text, and it will wrap text basedupon the variable ${WCOL}.
603 (James Robertson)
604 * Fixed mtu optional service typo (Kevin P Fleming)
605 * Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
[1c48007]606
607n/a - September 16, 2004
[4c0c012]608 * nework interfaces are now brought down in reverse order
[1c48007]609
610n/a - September 15, 2004
[4c0c012]611 * Added blue bracket, from dj's 3.0-pre1 bootscript package
612 [echo_failure, echo_warning, and echo_ok]
613 * Added a new function called boot_mesg, meant to replace the echo
614 command.
615 This will give us the posibility of doing logging at a later date
616 * Do not set COLUMNS if COLUMNS is already set
617 * Modified getpids, loadproc, killproc, reloadproc, and statusproc as
618 done by DJ
[1c48007]619
6202.2.3 - September 04, 2004
[4c0c012]621 * Tagged as 2.2.3
[1c48007]622
623n/a - September 04, 2004
[4c0c012]624 * Added new script to contrib for syslog-ng, which is now part of
625 LFS-Unstable, and a new Makefile target install-syslog-ng which
626 removes the sysklogd links, and replaces them with syslog-ng (JU)
[1c48007]627
6282.2.2 - August 11, 2004
[4c0c012]629 * Tagged as 2.2.2
[1c48007]630
631n/a - August 7, 2004
[4c0c012]632 * Added missing error redirect (/dev/null) in getpids. (DJ)
[1c48007]633
634n/a - August 4, 2004
[4c0c012]635 * Added MODE, DIRMODE, and CONFMODE variables to the makefile
636 to allow permissions to be set at install. (DJ)
[1c48007]637
638n/a - July 31, 2004
[4c0c012]639
640 * Moved PIDFILE check to getpids and removed arguments from
[cb02946]641 killproc and reloadproc. Signals are now set at beginning of
[4c0c012]642 funtcions script with KILLDELAY. (DJ)
643 * Added a optional service script which can set the MTU for a given
644 interface
[1c48007]645
646n/a - July 21, 2004
647
[4c0c012]648 * Committed DJ Lucas's patch for the killproc function. It no
649 longer requires arguments if PIDFILE is set
650 * added --backup to all sysconfig configuration files, so they are not
651 replaced on a make install
[1c48007]652
653n/a - July 13, 2004
654
[4c0c012]655 * Added the PEER variable to the ifconfig.*/* file, done by
656 Kevin P. Fleming
[1c48007]657
6582.2.1 - July 12, 2004
659
[4c0c012]660 * Tagged as 2.2.1
[1c48007]661
662n/a - July 12, 2004
663
[4c0c012]664 * Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
665 up/down network interfaces started by hotplug. This has been revoked
666 at this time
667 * Networking interfaces are now brought down in reverse order
668 * Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
669 the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
670 * Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
671 done by Kevin P. Fleming
672 * Fix reversal of services inside ifconfig.* directories in ifdown,
673 done by Kevin P. Fleming
674 * Add ipv4-static-route service, supplied by Kevin P. Fleming
[1c48007]675
6762.2.0 - July 12, 2004
677
[4c0c012]678 * Tagged as 2.2.0
[1c48007]679
680n/a - July 11, 2004
681
[4c0c012]682 * Minor script output changes
683 * Repaired networking scripts broken in previous commits
[1c48007]684
685n/a - July 10, 2004
686
[4c0c012]687 * We now use the ip program [from iproute2] instead of ipconfig
688 [net-tools] to bring up/down ethernet interfaces, and local
689 connections, submitted by Jim Gifford
690 * Removed gateway backward compatibility
691 * Removed ifup-eth0 ifdown-eth0 compatibility
692 * Removed the "assume SERVICE=static if SERVICE is unset" compatibility
693 * Pass the IFCONFIG environmental variable to services, so they can
694 locate the file with the parameters they must read
695 * Rename static to ipv4-static
696 * Stage1 for network configuration via directories, ifup and ifdown
697 modified, and the static service modified
698 * Stage2 for network configuration via directories complete, network was
699 modified to check within subdirectories for ONBOOT=yes. Final Stage
[1c48007]700
701n/a - July 8, 2004
702
[4c0c012]703 * Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
704 fixes the problem with line-drawing characters.
[1c48007]705
706n/a - July 7, 2004
707
[4c0c012]708 * Halted the computer, if unable to mount /dev as a ramfs
[1c48007]709
710n/a - July 6, 2004
711
[4c0c012]712 * Moved the hotplug bootscript back to contrib, it will not be used in
713 the testing branch of the lfs book at this time
[1c48007]714
715n/a - July 4, 2004
716
[4c0c012]717 * Modified ifup and ifdown to be hotplug aware
[1c48007]718
719n/a - July 3, 2004
720
[4c0c012]721 * Change the check for ONBOOT into a source within a subshell
[1c48007]722
723n/a - July 1, 2004
724
[4c0c012]725 * Moved hotplug start to runlevels 3-5 from sysinit
[1c48007]726
727n/a - June 30, 2004
728
[4c0c012]729 * Pass -depth in cleanfs
[1c48007]730
731n/a - June 29, 2004
732
[4c0c012]733 * Made the grep for ONBOOT in the network script more exact
[1c48007]734
7352.1.2 - June 27, 2004
736
[4c0c012]737 * Install the automatic module loading script by default
738 * Tagged as 2.1.2
[1c48007]739
740n/a - June 26, 2004
741
[4c0c012]742 * Fixed font for UK in /etc/sysconfig/console
[1c48007]743
744n/a - June 23, 2004
745
[4c0c012]746 * Fixed a typo in the hotplug installation procedure
[1c48007]747
748n/a - June 21, 2004
749
[4c0c012]750 * Re-ordered the "mount" and "echo" commands in the udev script, to
751 prevent a possible race
752 * Converted the udev script to use udevsend/udevd
753 * Moved removal of /fastboot and /forcefsck to just after the root fs
754 becomes writable, and dropped the removal of /etc/nologin
755 * Cleaned and tweaked both the output and actions of cleanfs
756 * Removed the disabling of hotplug from sendsignals
757 * Removed anything that might call "rmmod" in hotplug, since rmmod is
758 notoriously troublesome in the 2.6.x kernels, and call it with the
759 stop argument from runlevels 0 and 6
760 * Fixed previous modifications to the udev and cleanfs scripts
[1c48007]761
762n/a - June 20, 2004
763
[4c0c012]764 * Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
765 one doesn't work as well, and the bug that caused it to change is
766 now fixed
[1c48007]767
768n/a - June 18, 2004
769
[4c0c012]770 * Updated sysconfig/console
771 * Fixed disabling hotplug in sendsignals
772 * hotplug is now installed by default
[1c48007]773
774n/a - June 15, 2004
775
[4c0c012]776 * Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
777 command for hotplug
778 * Cleaned the output of the mountkernfs script
779 * Don't output "Creating files and directories" when it's a lie
[1c48007]780
781n/a - June 8, 2004
782
[4c0c012]783 * Changed the location the optional module script is installed to
784 /etc/rc.d/rcsysinit.d/S05modules.
[1c48007]785
786n/a - June 4, 2004
787
[4c0c012]788 * Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
789 clear it
[1c48007]790
791n/a - June 3, 2004
792
[4c0c012]793 * Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
794 events, which may start up new daemons
795 * Added elementry bootup logging support. If it can write to
796 /var/log/boot.log, it will
797 * Removed logging support, it kept / from being remounted ro
[1c48007]798
799n/a - June 2, 2004
800
[4c0c012]801 * Reorganize what goes on in the udev script
802 * Reorganize what goes on in the hotplug script
803 * Moved setting /sbin/hotplug as the default hotplug manager into the
804 hotplug script
[1c48007]805
806n/a - June 1, 2004
807
[4c0c012]808 * Removed usbfs from mountkernfs, and mountfs
809 * Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
[1c48007]810
811n/a - May 24, 2004
812
[4c0c012]813 * Added more example keymaps and font settings to /etc/sysconfig/console
814 * Install the /etc/sysconfig/console file by default
[1c48007]815
816n/a - May 23, 2004
817
[4c0c012]818 * Changed the symlink for the optional modules script
819 * Removed depmod from the optional modules script
[1c48007]820
821n/a - May 20, 2004
822
[4c0c012]823 * Removed the random script. There is not a strong enough case for
824 adding it to the lfs-bootscripts.
[1c48007]825
826n/a - May 19, 2004
827
[4c0c012]828 * Added the random bootscript from blfs-bootscripts
[1c48007]829
8302.1.1 - May 18, 2004
831
[4c0c012]832 * Fixed installation of modules configuration
833 * Tagged as 2.1.1
[1c48007]834
835n/a - May 16, 2004
836
[4c0c012]837 * Added sysklogd configuration file
838 * Added example /etc/sysconfig/console file
839 * Do not attempt to populate /dev if that directory has already been
840 set up earlier in bootup (such as on initramfs/initrd)
841 * Prevent excessive kernel output once klogd starts
842 * Added hotplug script
[1c48007]843
844n/a - May 15, 2004
845
[4c0c012]846 * Namespace rework (enumeration of scripts is now cleaner)
847 * Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
[1c48007]848
849n/a - May 13, 2004
850
[4c0c012]851 * Repaired the console script
852 * Added a check to cleanfs [createfiles], to make sure that we have
853 a valid devicetype, if we have type=dev
[1c48007]854
855n/a - May 11, 2004
856
[4c0c012]857 * Added usbfs to mountkernfs and mountfs
[1c48007]858
859n/a - May 6, 2004
860
[4c0c012]861 * Don't use loadproc in localnet, it's not meant for that
862 * Quote tests of $PIDFILE, so that things behave when it's empty
863 * Removed unused kill -0 from killproc
[1c48007]864
8652.1.0 - May 4, 2004
866
[4c0c012]867 * Update to the console script, prevent install of the console script
868 * Chgrp /var/run/utmp to group utmp if it exists.
869 * Moved udev from contrib to lfs
870 * Moved GATEWAY setup from /etc/rc.d/init.d/network to
871 /etc/sysconfig/network-devices/services/static
872 * Use the contents of $PIDFILE, if it is set in the script
873 * Tagged as 2.1.0.
[1c48007]874
875n/a - April 30, 2004
876
[4c0c012]877 * Moved the loadkeys script to console, and added setfont. Contributed
878 by Alexander E. Patrakov
[1c48007]879
8802.0.5 - April 29, 2004
881
[4c0c012]882 * Added the heimdal init script.
883 * Tagged as 2.0.5
[1c48007]884
8852.0.4 - April 27, 2004
886
[4c0c012]887 * Tagged as 2.0.4
[1c48007]888
889n/a - April 24, 2004
890
[4c0c012]891 * Added a example script for /etc/sysconfig/createfiles
892 * Added a check for /sys before mounting sysfs
893 * Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
894 This will prevent /dev from being unmounted, if /proc/mounts
895 is symlinked to /etc/mtab
[1c48007]896
897n/a - April 18, 2004
898
[4c0c012]899 * Small fix to a if statement in netfs
[1c48007]900
901n/a - April 17, 2004
902
[4c0c012]903 * Added the lisa bootscript, lisa is part of the KDE Network package
904 * Add proper error checking to the mountfs script when writing out mtab
905 * Add more comments to the udev script, and conditionalize various
906 things that should've been done this way in the first place
907 * Include a template module auto-loading configuration file instead of
908 having syntax comments in the script itself
[1c48007]909
910n/a - April 12, 2004
911
[4c0c012]912 * Added a automatic modules loading script to the contrib directory
913 submitted by Zack
914 * Edited mountkernfs, so that if you can mount sysfs on /sys, it will
915 be mounted at boottime. Should not affect 2.4 systems
916 * Since all entries are added to /etc/mtab, we should not require
917 the NO_FS variable. It has been removed from mountfs
918 * Added the udev script into the contrib directory, submitted by Zack
[1c48007]919
9202.0.3 - April 8, 2004
921
[4c0c012]922 * Updated cleanfs, so it can create devices. Supplied by Zack
923 * Tagged as 2.0.3
[1c48007]924
925n/a - March 31, 2004
926
[4c0c012]927 * Changed "Press Enter" on unknown error to white
928 * Moved S10swap to S20swap. When udev is added, it has to be
929 ran before swap is setup
[1c48007]930
931n/a - March 29, 2004
932
[4c0c012]933 * Fixed the rc5.d symlink for ntp so it creates S26ntp instead
934 of S26npt
935 * Moved S20mountkernfs to S00mountkernfs in rcsysinit.d. Will help in
936 the addition of udev in the future.
[1c48007]937
938n/a - March 27, 2004
939
[4c0c012]940 * Changed gdm path from hardcoded to program name. There are 2 spots
941 gnome can be installed
[1c48007]942
943n/a - March 26, 2004
944
[4c0c012]945 * Updated fam daemon script. It now uses the famd daemon instead of fam
[1c48007]946
947n/a - March 24, 2004
948
[4c0c012]949 * Removed mount command out of nfs. the netfs script already handles
950 this
[1c48007]951
9522.0.2 - March 24, 2004
953
[4c0c012]954 * Edited cleanfs to solve a problem. [if /tmp does not exist, it
955 could run the find command on the root filesystem]
956 * Tagged as 2.0.2
[1c48007]957
9582.0.1 - March 24, 2004
959
[4c0c012]960 * Found typo in BLFS MySQL Script.
961 * Tagged as 2.0.1
[1c48007]962
9632.0.0 - March 23, 2004
964
[4c0c012]965 * Tagged as 2.0.0, no changes from 2.0.0-pre2
[1c48007]966
9672.0.0-pre2 - March 23, 2004
968
[4c0c012]969 * Cleaned the /tmp directory on bootup. find command supplied by Zack
970 * Added a script which can automatically create files and directories
971 on startup. [Handles files/directories, permissions, and user/group].
972 Created by Zack
973 * Added blfs/init.d/fam script
974 * Tagged as 2.0.0-pre2
[1c48007]975
976n/a - March 20, 2004
977
[4c0c012]978 * Added create-service-dir target and removed from create-dirs
979 * Changed service script install targets to use
980 create-service-dir
981 * Added check for dhcpcd service script for stale pid file
982 Suggested by Jeremy
983 * Added ifconfig to ipx service script for hosting device not up
[1c48007]984
985n/a - March 19, 2004
986
[4c0c012]987 * Added support for ETCDIR, and DESTDIR in the Makefile,
988 compliments of Tushar
989 * Renamed mountproc to mountkernfs
990 * Updated the README file
991 * Coloured the print_error_message in functions red
992 * added stop to the setclock script
993 * changed echo > to > in cleanfs, suggested by winkie
994 * BLFS Scripts Added, collected by Zack
995 * Edited killproc, so it checks for running pids, rather then
996 the completion of the above kill command. Suggested by Zack
997 * Added network services found in blfs, removed adsl. Submitted by
998 DJ.
[1c48007]999
10001.99.4 - March 17, 2004
1001
[4c0c012]1002 * Fixed one last halt line in checkfs script
1003 * Moved the directory structure around
1004 * Tagged as development release 1.99.4
[1c48007]1005
1006n/a - February 28, 2004
1007
[4c0c012]1008 * Added stty sane to the top of rc.d/init.d/rc. Hopefully, this will
1009 fix the problems
1010 * Also changed all instances of <ctrl-j> back to enter
[1c48007]1011
10121.99.3 - February 23, 2004
1013
[4c0c012]1014 * Tagged as development release 1.99.3
[1c48007]1015
1016n/a - February 19, 2004
1017
[4c0c012]1018 * Fixed checkfs script, so it will no longer continue to boot after a
1019 failure in the init.d/checkfs script. Tested with the help of Andre
1020 Müller. Fix suggested by Zack
[1c48007]1021
1022n/a - February 7, 2004
1023
[4c0c012]1024 * Added -s onto grep on network stop
1025 * Replaced a few more enter's with ctrl-j
[1c48007]1026
10271.99.2 - February 6, 2004
1028
[4c0c012]1029 * Added -s onto grep in network start
1030 * Tagged as development release 1.99.2
[1c48007]1031
1032n/a - February 4, 2004
1033
[4c0c012]1034 * Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
1035 functions
1036 * Changed above fixes to work with ash
1037 * Fixed checkfs symlink in Makefile
1038 * functions is no longer installed as executable
1039 * Added a check to checkfs, for errors above 16. These are caused by
1040 being unable to run fsck, either due to user input, or a unfunctional
1041 linux system
[1c48007]1042
10431.99.1 - February 2, 2004
1044
[4c0c012]1045 * Tagged as development release 1.99.1
[1c48007]1046
1047n/a - February 2, 2004:
1048
[4c0c012]1049 * Added -d to umount in mountfs.
1050 * Fixed network shutdown script
1051 * Fixed Makefile rc.6 to reboot
1052 * Added -s flag to grep command in rc.d/init.d/network -
1053 suppresses an error if no ifconfig.* files exist
[1c48007]1054
1055n/a - January 30, 2004:
1056
[4c0c012]1057 * Reorganized the network system to accept multiple services.
1058 * Ash Compliancy
1059 * Modified some scripts to follow template
1060 * Reorganized functions, based upon Ash Compliancy Patch
1061 * Added a sleep 5 to failure for evaulate_retval, and changed
1062 evaulate_retval to return true instead of false. Instead, a
1063 exit 1 will indicate the script terminated abnormally, causing
1064 your system to wait until you hit ctrl-J
1065 * Switched "Press enter to continue" to "Press <ctrl-j> to continue"
1066 * replaced 3 with $KILLDELAY in sendsignals
1067 * mountfs does not mount network filesystems [identified by _netdev
1068 in /etc/fstab]
1069 * removed unneded touch out of cleanfs
[1c48007]1070
1071n/a - January 30, 2004:
1072
[4c0c012]1073 * New maintainers for the lfs-bootscripts package are:
1074 Jeremy Utley (jeremy@linuxfromscratch.org)
1075 Nathan Coulson (nathan@linuxfromscratch.org)
[1c48007]1076
10771.11 - February 3rd, 2003:
1078
[4c0c012]1079 * /etc/mtab is now a real file and is handled correctly so there are
1080 no errors even when the machine has crashed.
[1c48007]1081
10821.10 - September 12th, 2002:
1083
[4c0c012]1084 * Fixed up checkfs to work with non-ext2 filesystems too (such as
1085 minix).
[1c48007]1086
10871.9 - April 5th, 2002:
1088
[4c0c012]1089 * reloadproc function had a missing '=' in the "failure 1" command (it
1090 should be failure=1)
[1c48007]1091
[4c0c012]1092 * When script exists with unexpected value, you have to hit "Enter" to
1093 continue, not just a random key as printed on the screen.
[1c48007]1094
[4c0c012]1095 * Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
1096 K40sysklogd, K50sendsignals, K60mount, K70swap
[1c48007]1097
[4c0c012]1098 * Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
1099 linked to bash but to some other shell of your choice. These scripts
1100 are written to work with bash, so you can't just run them when
1101 /bin/sh -> csh or ash or whatever else tickles your fancy. This
1102 change should fix that.
[1c48007]1103
11041.8 - March 14th, 2002:
1105
[4c0c012]1106 * Fixed the getpids function call so PPID's would be taken into account
1107 properly.
[1c48007]1108
[4c0c012]1109 * Added the 'contrib' directory with other people's bootscript
1110 implementations.
[1c48007]1111
11121.7 - March 10th, 2002:
1113
[4c0c012]1114 * Used code from Matthias Benkmann's simpleinit-msb @
1115 http://winterdrache.de/linux/newboot/index.html mainly for improved
1116 killproc function handling
[1c48007]1117
[4c0c012]1118 * When a requested process isn't running, or is already running, a
1119 warning "Not running" or "Already running" will be displayed. This
1120 was out of allignment due to a missing $CURS_UP
[1c48007]1121
[4c0c012]1122 * Removed "||exit" from ifup and ifdown scripts. They are useless.
[1c48007]1123
[4c0c012]1124 * Changed the loadkeys script to run "loadkeys -d" and removed the need
1125 for the /etc/sysconfig/keyboard file. The kbd patch fixes the
1126 "loadkeys -d" behaviour.
[1c48007]1127
11281.6 - February 26th, 2002:
1129
[4c0c012]1130 * replaced -o %PPID with -o $PPID throughout the functions script. This
1131 construct does what it's supposed to do (don't take PPID into account
1132 because this would fail if a running daemon and the bootscript have
1133 the same name).
[1c48007]1134
[4c0c012]1135 * added 'restart' to the swap script
[1c48007]1136
[cb02946]1137 * instead of using 'echo -n' to suppress newlines so the [ OK ] and
1138 related messages align properly, substitute this with a single echo
[4c0c012]1139 command that simply goes one line up before outputting anything. This
1140 also has the benefit that when programs have their own output (like
1141 swapon, fsck and loadkeys), there won't be an unwanted blank line
1142 between the program's output and the [ OK ] et all. messages.
[1c48007]1143
11441.5 - February 2nd, 2002:
1145
[4c0c012]1146 * added 'exit 1' to the statusproc function when there aren't enough
1147 parameters passed to it (such as the name of process to check for)
[1c48007]1148
11491.4 - February 2nd, 2002:
1150
[4c0c012]1151 * when /fastboot is detected and the message about it is printed,
1152 don't run 'exit 1' else the rc script will cause a [FAILED] to
1153 be printed which is undesired in this case.
[1c48007]1154
11551.3 - January 30th, 2002:
[4c0c012]1156 * network script: changed default route detection by using the same
1157 method as used when starting the script: check if the GATEWAY
1158 variable is set
[1c48007]1159
[4c0c012]1160 * removed the emptying of /etc/mtab since it's a symlink to
1161 /proc/mounts now
[1c48007]1162
[4c0c012]1163 * added the mountproc script which mounts the proc system. This is done
1164 because we need proc mounted even before the mountfs script is ran
1165 (now that /etc/mtab is a symlink to /proc/mounts)
[1c48007]1166
[4c0c012]1167 * removed all absolute paths from command calls
[1c48007]1168
[4c0c012]1169 * added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
1170 functions script. Every file now sources this so that umask and PATH
1171 are set correctly
[1c48007]1172
11731.2 - January 26th, 2002:
[4c0c012]1174 * network script: detect if a default route is set before removing it
[1c48007]1175
Note: See TracBrowser for help on using the repository browser.