ChangeLog 42 KB

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