source: bootscripts/ChangeLog@ 12574f2

10.0 10.0-rc1 10.1 10.1-rc1 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 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 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 12574f2 was 12574f2, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Add boot/shutdown script customization instructions

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10016 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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