source: client/engine/ToolsGNU.c

qndtest
Last change on this file was 84d765a, checked in by adv <adv@…>, 13 years ago

branch ogclient: revisando instalador; trunk ToolsGnu?.c: actualizado info versiones

git-svn-id: https://opengnsys.es/svn/trunk@1473 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#!/bin/bash
2#/**
3# * @mainpage Proyecto OpenGnSys
4# *
5# * Documentación de la API de funciones del motor de clonación de OpenGnSys.
6# *
7# *
8# * @file    ToolsGNU.c
9# * @brief   Librería o clase Tools GNU used by OpenGNSys
10# * @class   Tools
11# * @brief   Herramientas gnu utilizadas por opengnsys.
12# * @version 0.9
13# * @warning License: GNU GPLv3+
14# */
15
16function install ()
17{
18        [ $# = 0 ] && echo pasar url del tar.gz && return
19        cd /tmp
20        wget -O download.tgz $1
21        mkdir download || directorio no creado
22        tar xzvf download.tgz -C download
23        for i in `ls download`
24        do
25          cd download/$i
26          [ -e "configure" ] && ./configure
27          make && make install
28          cd - && rm -fr download*
29        done
30}
31
32function mbuffer ()
33{
34        if [ "$1" = install ]
35        then
36                install "http://www.maier-komor.de/software/mbuffer/mbuffer-20110119.tgz"               
37        else
38                return
39        fi
40}
41
42function ms-sys ()
43{
44        if [ "$1" = install ]
45        then
46                install "http://prdownloads.sourceforge.net/ms-sys/ms-sys-2.2.1.tar.gz?download"
47                #install "http://downloads.sourceforge.net/project/ms-sys/ms-sys%20development/2.1.5/ms-sys-2.1.5.tar.gz"
48        else
49                return
50        fi
51}
52
53function ctorrent ()
54{
55        if [ "$1" = install ]
56        then
57                install "http://sourceforge.net/projects/dtorrent/files/dtorrent/3.3.2/ctorrent-dnh3.3.2.tar.gz/download"
58        else
59                return
60        fi
61}
62
63function udpcast ()
64{
65        if [ "$1" = install ]
66        then
67                install "http://udpcast.linux.lu/download/udpcast-20100130.tar.gz"
68        else
69                return
70        fi
71}
72
73function ntfs-3g ()
74{
75if [ "$1" = install ]
76     then
77        install "http://tuxera.com/opensource/ntfs-3g-2011.1.15.tgz"             
78     else
79         return
80fi
81
82}
83
84function partitionsaving ()
85{
86
87}
88
89function awk ()
90{
91}
92
93function chntpw ()
94{
95}
96
97function ctorrent ()
98{
99}
100
101function fdisk ()
102{
103}
104
105function fsck ()
106{
107}
108
109function kexec ()
110{
111}
112
113function lshw ()
114{
115}
116
117function mkfs ()
118{
119}
120
121function mount ()
122{
123}
124
125
126
127function parted ()
128{
129}
130
131function partimage ()
132{
133}
134
135function partprobe ()
136{
137}
138
139function sfdisk ()
140{
141}
142
143function umount ()
144{
145}
146
147
Note: See TracBrowser for help on using the repository browser.