Skip to content

os-conf.plugin.bash¤

custom OS configurations.

group:prenet | runtype:none | deps: - | port: -

Usage
os-conf help|install|uninstall|download|disable|configgen|configapply|check|run
$ os-conf install - install custom OS configurations
$ os-conf uninstall - uninstall custom OS configurations
$ os-conf download - download OS configuration files to pkg dir
$ os-conf disable - disable OS configuration plugin
$ os-conf configgen - generate OS configuration files
$ os-conf configapply - apply OS configuration files
$ os-conf check - check OS configuration plugin status
$ os-conf run - run OS configuration tasks
$ os-conf help - show this help message
Description

OS Configuration provides custom operating system configurations for system hardening and optimization.

Jangbi Configs¤

/opt/jangbi/.config
RUN_OS_CONF=1 # enable custom OS configurations

Check if running¤

bash command
$ ls -la /etc/jangbi/
-rw-r--r-- 1 root root custom.conf
$ systemctl --no-pager list-unit-files | grep jangbi
jangbi-hardening.service              enabled

Current Configuration¤

Current configuration is stored in /etc/jangbi/. it is generated by os-conf configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/jangbi/custom.conf