918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[ebb6c8d] | 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 | |
---|
| 16 | function 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 | |
---|
| 32 | function mbuffer () |
---|
| 33 | { |
---|
| 34 | if [ "$1" = install ] |
---|
| 35 | then |
---|
| 36 | install http://www.maier-komor.de/software/mbuffer/mbuffer-20091122.tgz |
---|
| 37 | else |
---|
| 38 | return |
---|
| 39 | fi |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | function ms-sys () |
---|
| 43 | { |
---|
| 44 | if [ "$1" = install ] |
---|
| 45 | then |
---|
| 46 | install http://downloads.sourceforge.net/project/ms-sys/ms-sys%20development/2.1.4/ms-sys-2.1.4.tar.gz |
---|
| 47 | else |
---|
| 48 | return |
---|
| 49 | fi |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | function ctorrent () |
---|
| 53 | { |
---|
| 54 | if [ "$1" = install ] |
---|
| 55 | then |
---|
| 56 | install http://sourceforge.net/projects/dtorrent/files/dtorrent/3.3.2/ctorrent-dnh3.3.2.tar.gz/download |
---|
| 57 | else |
---|
| 58 | return |
---|
| 59 | fi |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | function udpcast () |
---|
| 63 | { |
---|
| 64 | if [ "$1" = install ] |
---|
| 65 | then |
---|
| 66 | install http://udpcast.linux.lu/download/udpcast-20091031.tar.gz |
---|
| 67 | else |
---|
| 68 | return |
---|
| 69 | fi |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | function ntfs-3g () |
---|
| 73 | { |
---|
| 74 | if [ "$1" = install ] |
---|
| 75 | then |
---|
| 76 | install http://tuxera.com/opensource/ntfs-3g-2009.11.14.tgz |
---|
| 77 | else |
---|
| 78 | return |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | function partitionsaving () |
---|
| 84 | { |
---|
| 85 | echo http://damien.guibouret.free.fr/savepart.zip |
---|
| 86 | |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | function awk () |
---|
| 90 | { |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | function chntpw () |
---|
| 94 | { |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | function ctorrent () |
---|
| 98 | { |
---|
| 99 | } |
---|
| 100 | |
---|
| 101 | function fdisk () |
---|
| 102 | { |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | function fsck () |
---|
| 106 | { |
---|
| 107 | } |
---|
| 108 | |
---|
| 109 | function kexec () |
---|
| 110 | { |
---|
| 111 | } |
---|
| 112 | |
---|
| 113 | function lshw () |
---|
| 114 | { |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | function mkfs () |
---|
| 118 | { |
---|
| 119 | } |
---|
| 120 | |
---|
| 121 | function mount () |
---|
| 122 | { |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | function parted () |
---|
| 128 | { |
---|
| 129 | } |
---|
| 130 | |
---|
| 131 | function partimage () |
---|
| 132 | { |
---|
| 133 | } |
---|
| 134 | |
---|
| 135 | function partprobe () |
---|
| 136 | { |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | function sfdisk () |
---|
| 140 | { |
---|
| 141 | } |
---|
| 142 | |
---|
| 143 | function umount () |
---|
| 144 | { |
---|
| 145 | } |
---|
| 146 | |
---|
[1e7eaab] | 147 | |
---|
Note: See
TracBrowser
for help on using the repository browser.