rendre cohérent les en-têtes des scripts
This commit is contained in:
parent
9e1351529a
commit
5e33a36bcd
4
EnsureVM
4
EnsureVM
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS service
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire service
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: s'assurer que les services sont lancés pour un type de virtualisation
|
||||
|
|
4
SKvm
4
SKvm
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS virsh
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire virsh
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: lancer une machine virtuelle kvm
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: lancer une machine virtuelle VirtualBox
|
||||
|
|
2
_root
2
_root
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire base
|
||||
|
||||
function display_help() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS template apache.tools
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire template apache.tools
|
||||
apacheconfig_initvars
|
||||
|
||||
function display_help() {
|
||||
|
|
3
authftp
3
authftp
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Se connecter sur un site FTP authentifié
|
||||
|
|
3
caturl
3
caturl
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Afficher une url
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: créer un utilisateur sudoer et lui installer une clé publique ssh
|
||||
|
|
3
cssh
3
cssh
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Faire une connexion ssh en lançant automatiquement un screen sur l'hôte distant
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: se connecter à la base MySQL
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: ouvrir un shell dans le container
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: mettre à jour un module ur/* ou lib/* sans utiliser composer
|
||||
|
|
2
dk
2
dk
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/auto" || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire pff json
|
||||
|
||||
function display_help() {
|
||||
|
|
4
dkbuild
4
dkbuild
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS ptools xmlsupport
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ptools xmlsupport
|
||||
|
||||
SELF="$script"
|
||||
TEMPLATEDIR="$scriptdir/lib/dkbuild/templates"
|
||||
|
|
2
dmcerts
2
dmcerts
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source /etc/ulibauto || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire install
|
||||
|
||||
function display_help() {
|
||||
|
|
2
dmctl
2
dmctl
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source /etc/ulibauto || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: import/exporter une docker-machine
|
||||
|
|
|
@ -11,7 +11,7 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire base
|
||||
|
||||
function display_help() {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: afficher les connexions TCP entrantes sur un port
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS ipcalc
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ipcalc
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: s'assurer que l'hôte courant a l'adresse IP spécifiée
|
||||
|
|
3
fconv
3
fconv
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: convertir un fichier ou les fichiers d'un répertoire
|
||||
|
|
3
fnconv
3
fnconv
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: renommer un fichier ou les fichiers d'un répertoire
|
||||
|
|
3
fndate
3
fndate
|
@ -11,8 +11,7 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: manipuler des noms de fichier pour les dater
|
||||
|
|
3
foreach
3
foreach
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: lancer une commande pour un ensemble d'arguments
|
||||
|
|
3
geturl
3
geturl
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Télécharger un fichier avec wget ou curl
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS apache.tools
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire apache.tools
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Créer un fichier de redirections pour Apache à partir d'un certain
|
||||
|
|
3
mkiso
3
mkiso
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: créer une image iso d'un répertoire
|
||||
|
|
3
mkurl
3
mkurl
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Enregistrer une url dans un fichier raccourci
|
||||
|
|
3
mkusfx
3
mkusfx
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Créer une archive auto-extractible qui installe son contenu avec uinst
|
||||
|
|
3
mocifs
3
mocifs
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Monter un partage Windows/Samba/CIFS
|
||||
|
|
3
modav
3
modav
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Monter un répertoire sur un hôte distant avec davfs
|
||||
|
|
3
moiso
3
moiso
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Monter une image ISO
|
||||
|
|
3
mossh
3
mossh
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Monter un répertoire sur un hôte distant avec sshfs
|
||||
|
|
4
mssh
4
mssh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib"
|
||||
urequire DEFAULTS ipcalc
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ipcalc
|
||||
|
||||
if [ $# -eq 1 -a "$1" == "--help" ]; then
|
||||
exit_with uecho "$scriptname: Faire une connexion ssh en utilisant l'exécutable approprié au réseau source et destination
|
||||
|
|
3
mysqlcsv
3
mysqlcsv
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Faire une requête MySQL et formater la sortie pour traitement avec awkcsv
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS awk
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire awk
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Charger une table MySQL avec un fichier csv
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS debian
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire debian
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: gérer la configuration du réseau
|
||||
|
|
3
nutools
3
nutools
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: configurer ou afficher des informations sur nutools
|
||||
|
|
3
openurl
3
openurl
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
# faut-il supprimer la sortie erreur? les warnings de GTK sont horripilants.
|
||||
: "${OPENURL_STDERR:=}"
|
||||
|
|
4
pdev
4
pdev
|
@ -13,8 +13,8 @@ complete -F __pdev_completion pdev
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS ptools
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ptools
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: basculer sur une branche de développement
|
||||
|
|
4
pff
4
pff
|
@ -118,8 +118,8 @@ complete -F __pff_completion -o bashdefault -o default pff
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS multiconf vcs javaproperties
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire multiconf vcs javaproperties
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: gestion de modifications locales
|
||||
|
|
4
prel
4
prel
|
@ -13,8 +13,8 @@ complete -F __prel_completion prel
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS ptools
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ptools
|
||||
|
||||
# XXX Ajouter une option pour fusionner les modifications d'une branche de
|
||||
# pré-release dans develop
|
||||
|
|
4
pver
4
pver
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS ptools xmlsupport
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire ptools xmlsupport
|
||||
|
||||
function pver_display_help() {
|
||||
uecho "$scriptname: gérer des numéros de version selon les règles du versionage sémantique v2.0.0 (http://semver.org/)
|
||||
|
|
4
pz
4
pz
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS vcs ptools
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire vcs ptools
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: faire une archive du projet
|
||||
|
|
4
repoctl
4
repoctl
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS json
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire json
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: piloter un serveur git (gitolite, gogs, gitea, etc.)
|
||||
|
|
4
rruns
4
rruns
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS runs runsmod
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire runs runsmod
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déploiement distant avec runs
|
||||
|
|
4
rtoinst
4
rtoinst
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS pyulib/pyulib
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire pyulib/pyulib
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déploiement distant avec toinst
|
||||
|
|
4
ruinst
4
ruinst
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS pyulib/pyulib
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire pyulib/pyulib
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déploiement distant avec uinst
|
||||
|
|
4
runs
4
runs
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS runs runsmod
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire runs runsmod
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Lancer un script avec le protocole runs
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS template runs
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire template runs
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Gérer un répertoire d'hôte de runs
|
||||
|
|
4
runsmod
4
runsmod
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS runsmod
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire runsmod
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: récupérer des dépôts git à usage de runs
|
||||
|
|
4
rwoinst
4
rwoinst
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS woinst
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire woinst
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déploiement distant avec woinst
|
||||
|
|
3
rwyinst
3
rwyinst
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déploiement distant avec wyinst
|
||||
|
|
4
sqlmig
4
sqlmig
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS install
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire install
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: gérer les mises à jour sur une base de données
|
||||
|
|
4
toinst
4
toinst
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS xmlsupport
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire xmlsupport
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Déployer une ou plusieurs webapps vers Tomcat
|
||||
|
|
4
twsync
4
twsync
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS udir tiddlywiki javaproperties
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire udir tiddlywiki javaproperties
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: synchroniser un répertoire de wiki avec un tiddlywiki
|
||||
|
|
4
uawk
4
uawk
|
@ -12,8 +12,8 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS awk
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire awk
|
||||
|
||||
# si on lance le script avec le nom uawk, il faut spécifier l'outil à
|
||||
# utiliser
|
||||
|
|
3
ubackup
3
ubackup
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: faire une sauvegarde des fichiers
|
||||
|
|
3
ucalc
3
ucalc
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Afficher une valeur dans plusieurs unités
|
||||
|
|
4
uconf
4
uconf
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS conf
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire conf
|
||||
|
||||
function display_help() {
|
||||
local OENC="$UTF8"
|
||||
|
|
2
ucrontab
2
ucrontab
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
#source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
#source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
#urequire DEFAULTS crontab
|
||||
# Pour pouvoir être copié le cas échéant sur un hôte distant, la librairie ulib
|
||||
# est inclue avec uinc à partir de lib/ulib. En mode développement, il faut
|
||||
|
|
4
udir
4
udir
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS udir
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire udir
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: gérer les variables de répertoire
|
||||
|
|
4
udist
4
udist
|
@ -145,8 +145,8 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS conf install
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire conf install
|
||||
INSTALL_VERBOSE=
|
||||
INSTALL_USES_PPATH=1
|
||||
|
||||
|
|
4
uenv
4
uenv
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS uenv uenv_update
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire uenv uenv_update
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Mettre à jour la configuration de l'environnement
|
||||
|
|
4
ufile
4
ufile
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS multiconf
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire multiconf
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: classer des fichiers selon certains règles
|
||||
|
|
3
ufixmod
3
ufixmod
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: forcer le mode d'une liste de fichiers
|
||||
|
|
4
ugenpass
4
ugenpass
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS password
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire password
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: générer un mot de passe au hasard
|
||||
|
|
2
uinc
2
uinc
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire uinc
|
||||
|
||||
export UINCPATH="$ULIBDIR${UINCPATH:+:$UINCPATH}"
|
||||
|
|
2
uinc.sh
2
uinc.sh
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
# Version de uinc qui fonctionne avec /bin/sh. Le contrôle est transmis à
|
||||
# bash, qui est recherché dans une liste de répertoires standards
|
||||
. `dirname "$0"`/lib/ulib/ulibsh || exit 1
|
||||
. `dirname -- "$0"`/lib/ulib/ulibsh || exit 1
|
||||
urequire DEFAULTS uinc
|
||||
|
||||
export UINCPATH="$ULIBDIR${UINCPATH:+:$UINCPATH}"
|
||||
|
|
4
uinst
4
uinst
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS uinst
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire uinst
|
||||
|
||||
UINST_STANDALONE=1
|
||||
uinst_nolocal "$@"
|
||||
|
|
4
ujava
4
ujava
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS java
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire java
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Lancer un script après avoir sélectionné une version de java
|
||||
|
|
4
uldap
4
uldap
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 255
|
||||
urequire DEFAULTS ldif prefixes ldap
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 255
|
||||
urequire ldif prefixes ldap
|
||||
|
||||
################################################################################
|
||||
# Fonctions utilitaire
|
||||
|
|
3
ulib
3
ulib
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Gestion des librairies ulib et pyulib
|
||||
|
|
3
ulink
3
ulink
|
@ -39,8 +39,7 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
# Traduire le nom du script
|
||||
for script_alias in "${SCRIPT_ALIASES[@]}"; do
|
||||
|
|
3
umatch
3
umatch
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Afficher le résultat d'une recherche par regexp et compter
|
||||
|
|
3
umirror
3
umirror
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: faire un miroir d'un site web
|
||||
|
|
3
umountr
3
umountr
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: démonter un système de fichier récursivement
|
||||
|
|
4
uprefix
4
uprefix
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS PREFIXES-DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire PREFIXES-DEFAULTS
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Afficher les préfixes valides pour uinst
|
||||
|
|
4
uproject
4
uproject
|
@ -203,8 +203,8 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS modeline vcs
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire modeline vcs
|
||||
|
||||
# Traduire le nom du script
|
||||
for script_alias in "${SCRIPT_ALIASES[@]}"; do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS crontab install
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire crontab install
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: lancer une suite de commande en respectant une planification de type cron
|
||||
|
|
3
ussh
3
ussh
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: se connecter par ssh à un ou plusieurs hôtes
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Afficher les informations sur le système
|
||||
|
|
3
utempl
3
utempl
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Créer un nouveau fichier à partir d'un modèle
|
||||
|
|
2
utrigger
2
utrigger
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire base pretty
|
||||
|
||||
function display_help() {
|
||||
|
|
3
uwatch
3
uwatch
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: afficher l'heure
|
||||
|
|
3
vzusage
3
vzusage
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: afficher des informations sur une machine virtuelle OpenVZ
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: créer une archive de la distribution WebObjects en cours
|
||||
|
|
3
woSwitch
3
woSwitch
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: Changer la version de WebObjects pour le système en cours
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: supprimer les fichiers de log inutiles dans /var/log/WebObjects
|
||||
|
|
3
woctl
3
woctl
|
@ -89,8 +89,7 @@ if [ "$#" -eq 1 -a "$1" == --nutools-makelinks ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
|
||||
# Traduire le nom du script
|
||||
for script_alias in "${SCRIPT_ALIASES[@]}"; do
|
||||
|
|
4
woinst
4
woinst
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname -- "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS woinst
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire woinst
|
||||
|
||||
woinst "$@"
|
||||
|
|
4
wosign
4
wosign
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
|
||||
urequire DEFAULTS prefixes apache webobjects java wosign
|
||||
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
|
||||
urequire prefixes apache webobjects java wosign
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname: signer les jars d'un bundle
|
||||
|
|
Loading…
Reference in New Issue