Install utilities:

This will install a Midnight Commander, samba and a set of utilities as described belove.

wget http://palsbo.net/rep/utils.inst.sh
sudo sh utils.inst.sh

makeinst:

Purpose:

to create an installation package (as a script file) holding all scripts and data to install the package.

Usage:

sudo makeinst <instdir> <Title>

where <instdir> is a directory structure (see below) and <Title> is a name to display during install.

Example:

sudo makeinst myapp 'My application program'

- creates an installation package named myapp.inst.sh and a gz file myapp.inst.gz from the directory 'myapp.inst' in current directory.

instdir directory structure.

The installation directory structure must reside where the 'makeinst' command is executed from.

The directory structure is as follows:

doinst:

Usage:

doinst <package-name>

Example:

sudo doinst node

Will install the package node.inst.sh from the repository

gettar:

Usage:

gettar <package-name>

Example:

soud gettar node

Will fetch the package node.inst.gz from the repository and unpack it to current directory

makeself and makeself-header:

Used by'makeinst'.

Details here: http://stephanepeter.com/makeself/

sethostname:

Set/Change hostname

sambashare:

Usage:

sambashare <sharename> <share-path>

Example:

sudo sambashare server /server

Will create a directory and share it using samba.

sambauser:

Usage:

sudo sambauser username password

Will create a samba user.

sys:

Display system info

screen dump