Origin for each line in README.md from check-in be69b48ea9:
be69b48ea9 2024-12-24 arcade: # MRC is init replacement for DragonFly BSD, written in BSD Make. be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: - Can start services in parallel. be69b48ea9 2024-12-24 arcade: - Can manage services differently: via svc/daemon/just by starting them in be69b48ea9 2024-12-24 arcade: background. be69b48ea9 2024-12-24 arcade: - Faster and easier on resources comparing to rc.d, for example whole be69b48ea9 2024-12-24 arcade: configuration is prepared only once before running anything, rc.d is be69b48ea9 2024-12-24 arcade: calculating all variables for each service independently. be69b48ea9 2024-12-24 arcade: - Service definition is simplified a lot. be69b48ea9 2024-12-24 arcade: - Naming and logic is not yet finalized. be69b48ea9 2024-12-24 arcade: - Fun (for me). be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: !!!WARNING!!! This is a project in an alpha stage done for pure fun, that be69b48ea9 2024-12-24 arcade: replaces system functionality and may prevent your system from correctly be69b48ea9 2024-12-24 arcade: booting up. In case you run into any issues make sure to replace `/etc/rc` be69b48ea9 2024-12-24 arcade: and `/etc/rc.shutdown` with default versions by running: be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ```Shell be69b48ea9 2024-12-24 arcade: cp -f /usr/src/etc/rc /etc/ be69b48ea9 2024-12-24 arcade: cp -f /usr/src/etc/rc.shutdown /etc/ be69b48ea9 2024-12-24 arcade: ``` be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: This also means you need to have sources checked out to `/usr/src`. be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ## Install be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: Checkout this to /etc/mrc, `cd /etc/mrc && make install`. be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ## Configuration be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: Can be configured almost the same way as rc.d, by editing `/etc/mrc.mk`. be69b48ea9 2024-12-24 arcade: Syntax used is Make syntax: be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ```Make be69b48ea9 2024-12-24 arcade: DUMPDEV=/dev/serno/something.s5 be69b48ea9 2024-12-24 arcade: HOSTNAME=Amnesiac be69b48ea9 2024-12-24 arcade: KLD_LIST=ahci wlan_ccmp wlan_amrr wlan_rssadapt acpi_wmi aesni snd_hda amdtemp ums nvmm amdsbwd acpi_video if_iwm radeon be69b48ea9 2024-12-24 arcade: WLANS_iwm0=wlan0 be69b48ea9 2024-12-24 arcade: WLANS_wlan0_ARGS=country UA powersave be69b48ea9 2024-12-24 arcade: RPC_UMNTALL_ENABLE=yes be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: DAEMON_automountd_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_dhcpcd_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_inetd_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_powerd_ENABLE=yes be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: #DAEMON_slim_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_dntpd_ENABLE=yes be69b48ea9 2024-12-24 arcade: #DAEMON_smartd_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_bsdstats_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_lldpd_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_moused_ENABLE=no be69b48ea9 2024-12-24 arcade: DAEMON_wpa_supplicant_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_arpwatch_ENABLE=yes be69b48ea9 2024-12-24 arcade: DAEMON_dbus_ENABLE=yes be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: DAEMON_sensorsd_ENABLE=yes be69b48ea9 2024-12-24 arcade: #DAEMON_sndiod_ENABLE=yes be69b48ea9 2024-12-24 arcade: ``` be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ## Usage be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: You can control services directly via `svc` or `daemon`, or you can use special be69b48ea9 2024-12-24 arcade: targets under `/etc/mrc`: be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: ```Shell be69b48ea9 2024-12-24 arcade: # this will start service if it's enabled be69b48ea9 2024-12-24 arcade: $ make <service> be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: # this will show running service _status be69b48ea9 2024-12-24 arcade: $ make <service>_status be69b48ea9 2024-12-24 arcade: be69b48ea9 2024-12-24 arcade: # stop and deconstruct service, removing running svc/daemon instance be69b48ea9 2024-12-24 arcade: $ make <service>_exit be69b48ea9 2024-12-24 arcade: ```