Slackware Post-Install Scripts (PIS)

'Let the Slackers be a little bit lazy. ;)'

Home About Download Tutorial Repository

Tutorial

1. Instalation
2. Running
3. Saving Profile File
4. Loading Profile File


1.Instalation

---

Step 1 - Download the PIS Slackware package:

wget http://www.slackscripts.com/packages/pis-0.2-noarch-2.txz

Step 2 - Install PIS, running, as root, the command below:

installpkg pis-0.2-noarch-2.txz

Back


2.Running

---

Run PIS, as root, with the command below

pis

So PIS must show its main window:

PIS main window.

Now just enjoy it! ;)

Back


3. Saving Profile File

---

You can run, as root, the commands below to save the previously made settings in a profile file:

pis -o my_profile_file
Or:
pis --output my_profile_file

Here is an example of the contents of a profile file:

language_country=pt_BR.utf8
keyboard_map=br-abnt2.map.gz
login=GUI
kernels=vmlinuz-generic-5.15.19 vmlinuz-generic-5.15.80
wheel_group=YES
user=garme 123456 0
gui_desktop=xinitrc.xfce
gui_keyboard=br:
slackpkg_mirror=75
slackpkg_slackpkgplus=alienbob restricted
sbopkg=YES
slapt_get_install=YES
slapt_get_extra_repo=slackonly slackers
slapt_get_slapt_src=YES

Back


4. Loading Profile File

---

You can run, as root, the commands below to load and apply the settings from a profile file:

pis -f my_profile_file
Or:
pis --file my_profile_file

Back