Source

initscripts /

Filename Size Date modified Message
completion
conf
daemon
man
61 B
17.6 KB
9.5 KB
1.7 KB
11.0 KB
3.6 KB
1.3 KB
1.4 KB
1.9 KB
8.5 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.