| 1. Installing a package |
| 2. Installing from source |
| 3. Loading the library |
1 - Installing a package
I distribute an RPM package, available from the download area. This package should work on any system using RPM.
Depending on your operating system, a package may be available from an alternate source.
2 - Installing from source
sysfunc is a shell library, so it is easy to install :
- Download the last tar-gzipped package from the download area. Extract it in /opt/sysfunc.
- cd /opt/sysfunc
- Run 'make install'. This will insert the version string in the library and create the /usr/bin/sysfunc.sh symbolic link.
3 - Loading the library
When you want to load the sysfunc library in a shell script, insert the following line :
sf_loaded 2>/dev/null || . sysfunc.sh |
This line prevents the library to be loaded if it is already in memory and uses the symbolic link in /usr/bin to load the library through the current path.



Projects 


