BSD Ports

sysutils/personality 1.0_1 DragonFly

System configuration management utility to alter system personality

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
sysutils
Package size
6.1 KiB, 15.3 KiB installed

Description

This script provides functionality for manipulating collections of configuration files which can be organised so as to alter the personality of a system.

Initially, the "base" personality is established. This personality contains the "reference" copies of configuration files, and is used when creating new personalities. The files which are currently considered part of the system's personality are those contained in the base personality.

A new personality is established by making a copy of the base personality under a new name. Each personality maintains a separate copy of all configuration files under /etc/personality.

To install a new personality, the files currently in place are saved back to the current personality as indicated in /etc/personality/current, and the files for the new personality copied into place. The 'select' and 'menu' commands which perform these installations are implemented in such a fashion as to only require the tools available on the root filesystem, so that they may be invoked at the earliest stage during system startup.

In the other systems

SystemPortVersion
DragonFlysysutils/personality1.0_1
FreeBSDsysutils/personality1.0_1

Install

Binary package:

pkg install personality

From DPorts:

cd /usr/dports/sysutils/personality && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To change the personality of your system at system boot
you have to add the following line into the /etc/rc script.

[ -x /usr/local/sbin/personality ] && /usr/local/sbin/personality menu 60

Make sure that you add this after mounting of the ufs filesystems.
If you prefer you can use other values than 60 seconds.
After 60 seconds the system boots with the last configuration.

===>   NOTICE:

The personality port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing