FAKE // OS patch over operating system
Find a file
2024-11-05 14:54:40 +11:00
src/fake-os Added btrfs snapshot command 2024-11-05 14:54:40 +11:00
README.md Initial commit 2023-10-21 19:10:43 +11:00
setup.sh Added repository update to setup.sh installer 2023-10-22 15:29:48 +11:00

FAKE // OS

FAKE//OS system utilities and scripts.

demo

Philosophy

  1. Standardised: Functions should work consistently across multiple Operating System Distrobutions.
  2. Repeatable: Functions should be able to re-run (for ugrade purposes) without destroying already modified system configurations.
  3. Modularity: Functions should be simple and modular for easy additions and modifications.
  4. Error Handeling: Functions should have good error handeling for use in automated scripts.

Supported Operating Systems

FAKE//OS aims to be system agnostic, and provide a consistent set of functions (especially for scripting) across a variety of Linux distrobutions, which otherwise don't play well togehter. Currently supported distrobutions include:

  • Arch Linux [bash + systemd + pacman/paru]
  • Artix Linux [bash + openrc + pacman/paru]
  • Alpine Linux [ash + openrc + apk]
  • Debian Linux [bash/dash + systemd + apt]

Basic Ussage

FAKE//OS Package and System Manager
-----------------------------------
usage: fake <command> <arguments>

Package management commands:
  install    Install new software packages
  update     Update installed software packages
  remove     Remove/Uninstall software packages
  search     Search repository for software packages

Init/System management commands
  start      Start system daemons
  stop       Stop system daemons
  restart    Restart system daemons
  enable     Add system daemons to default startup PID
  disable    Remove system daemons from default startup PID
  flush      Clear syste caches

FAKE//OS commands:
  upgrade    Upgrade FAKE//OS to latest git version
  help       Display this help screen

Install FAKE // OS

Automatic Install

Copy and paste the folloing into you're commandline terminal:

curl https://git.fake.onl/fake/fake-os/raw/branch/master/setup.sh | sh

Manual Install

For manual installation and access to the source-code run the following commands:

git clone https://git.fake.onl/fake/fake-os.git
cd fake-os
./setup.sh

Upgrade Install

Once installed FAKE//OS can be upgraded (install the latest version from git.fake.onl) by running the following command:

fake upgrade