{"id":17383037,"url":"https://github.com/system64fumo/rc-scripts","last_synced_at":"2025-03-27T20:49:34.120Z","repository":{"id":241698945,"uuid":"807432569","full_name":"System64fumo/rc-scripts","owner":"System64fumo","description":"sysvinit style rc scripts","archived":false,"fork":false,"pushed_at":"2025-02-02T07:48:04.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:49:08.932Z","etag":null,"topics":["busybox","init-system","rc-script","shell-scripts","sysvinit"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/System64fumo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T05:13:22.000Z","updated_at":"2025-02-02T07:48:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"177b4798-c62d-4fff-9c78-8d88c10154b0","html_url":"https://github.com/System64fumo/rc-scripts","commit_stats":null,"previous_names":["system64fumo/rc-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/System64fumo%2Frc-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/System64fumo%2Frc-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/System64fumo%2Frc-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/System64fumo%2Frc-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/System64fumo","download_url":"https://codeload.github.com/System64fumo/rc-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924493,"owners_count":20694728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["busybox","init-system","rc-script","shell-scripts","sysvinit"],"created_at":"2024-10-16T07:40:23.443Z","updated_at":"2025-03-27T20:49:34.092Z","avatar_url":"https://github.com/System64fumo.png","language":"Shell","readme":"# rc-scripts\nThis repository holds the rc scripts that i use on my systems\u003cbr\u003e\n\n# Installation\nTo install and use these scripts on your system you need to do the following: \u003cbr\u003e\n1. `mkdir /opt/busybox`\n2. Download busybox and put it in /opt/busybox\n3. Install busybox by either symlinking or running `/opt/busybox/busybox --install -s /opt/busybox/`\n4. `git clone https://github.com/System64fumo/rc-scripts`\n5. `sudo mv ./rc-scripts/rc.d /etc/rc.d`\n6. `sudo mv ./rc-scripts/inittab /etc/inittab`\n7. `sudo rm /bin/{init,poweroff,reboot}`\n8. `sudo ln -s /opt/busybox/init /bin/init`\n9. `sudo ln -s /opt/busybox/poweroff /bin/poweroff`\n10. `sudo ln -s /opt/busybox/reboot /bin/reboot`\n\nDo note: After following the installation guide,\u003cbr\u003e\nYou will not be able to reboot your system normally for the first time (Since we replaced the original poweroff file)\u003cbr\u003e\nAlso any updates to your init system of choice will restore the original init,\u003cbr\u003e\nSo add your init system to your package manager's ignore/block list.\n\n# Configuration and usage\nTo manually start or stop a service, Run the `service` script.\u003cbr\u003e\nExample: `sudo /etc/rc.d/script start sshd`\u003cbr\u003e\n\nTo configure which services load when you boot the system up, \u003cbr\u003e\nEdit `/etc/rc.d/init`.\u003cbr\u003e\n\nTo configure what happens when you shut the system down, \u003cbr\u003e\nEdit `/etc/rc.d/shutdown`.\u003cbr\u003e\n\nTo configure service settings, (Such as zram size, Network details, ect..)\u003cbr\u003e\nEdit `/etc/rc.d/config`.\u003cbr\u003e\n\nTo configure ttys or autologin, (The default autologin is for root on tty1)\u003cbr\u003e\nEdit `/etc/inittab`.\n\n# Additional information\nBy default the service loader will use busybox,\u003cbr\u003e\nUncomment the export line in `/etc/rc.d/service` to use native system bins if you wish.\u003cbr\u003e\n\nThe splash screen configuration `/etc/rc.d/splash/fbsplash.ini` assumes your monitor resolution is 1080p.\u003cbr\u003e\n\n\u003e [!IMPORTANT]\n\u003e The default configuration assumes a lot, Such as:\u003cbr\u003e\n\u003e Running on a non systemd based distro\u003cbr\u003e\n\u003e Connected via ethernet on eth0 with a static ip addr\u003cbr\u003e\n\u003e Using pipewire for audio\u003cbr\u003e\n\u003e Please change it to match your system and your needs.\u003cbr\u003e\n\n\u003e [!NOTE]\n\u003e Some services should not run as the root user (Such as audio for example)\u003cbr\u003e\n\u003e You can use `su` to start them automatically in `/etc/rc.d/init`\u003cbr\u003e\n\n\n# Why do any of this? And why busybox?\nThe following answers are based on my opinion, Feel free to disagree.\u003cbr\u003e\nI personally like the way sysvinit style init systems work (Shell script based init systems)\u003cbr\u003e\nI find it easier to configure and do everything i want this way too\u003cbr\u003e\nThe speed and performance of existing init systems did not satisfy me.\u003cbr\u003e\n\nAs for the busybox question, Honestly?\u003cbr\u003e\nI just wanted to mess around with busybox a while back and tried it's init system, So it kinda stuck\u003cbr\u003e\nI am fully aware that busybox is not exactly the best thing out there,\u003cbr\u003e\nHowever i'm too lazy to switch to something else\u003cbr\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystem64fumo%2Frc-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystem64fumo%2Frc-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystem64fumo%2Frc-scripts/lists"}