Source

initscripts /

Filename Size Date modified Message
completion
conf
daemon
61 B
17.6 KB
1.5 KB
1.7 KB
10.6 KB
3.9 KB
1.2 KB
2.8 KB
87 B
10.8 KB

Info

Fork of the Arch Linux initscripts without systemd support, code clean-up and tweaks. Based on 2012.05.1.

Changes so far

  • Busybox compatibility
  • Stripped all systemd reference and code
  • Removed the Network functionality
  • Stripped vconsole.conf need and support only the "legacy" rc.conf style
  • Using hostname utility instead of setting up hostname on own
  • Using sysctl from procps-ng without separate Bash script
  • Calling pre and post udev functions in main scripts as the others
  • Stripped release references
  • Imported some fixes from upstream
  • Refactored messages functions
  • start_daemon, stop_daemon, etc. superseeded by rc.d (some common daemon functions still left tough)
  • Improved rc.d Bash completion
  • Backgrounding daemons is no more
  • LVM2, Btrfs and RAID support is no more, you will have to use hooks to make it work
  • Local scripts (rc.local and rc.local.shutdown) are no more, hooks should be used instead
  • Grouped functions in format <group><program><action> to be more self-explaining
  • Improved/added manual pages
  • Moved system setup, unnessary for basic boot, from rc.sysinit to rc.multi
  • Introduced parallelization of tasks
  • Introduced daemons state control from rc.d itself
  • Code clean-up, tweaks, etc.

Checkout

Upstream commits that need research and some manual work to be applied:

http://projects.archlinux.org/initscripts.git/commit/?id=ecc8af27039c9174301b9eb94884ccf56f00b33a http://projects.archlinux.org/initscripts.git/commit/?id=8c66baed0a803fe9983525847e03bf10aa66ac5f http://projects.archlinux.org/initscripts.git/commit/?id=a9ffc483b60f481bf4a8ba858f1c18f7b64bd5ad

TODO

  • Use more local variables in functions