ChangeLog 42 KB

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