Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado

kyx / dnf-auto-upgrade.sh

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
1 #!/usr/bin/env bash
2 set -euo pipefail
3
4 # --- Réglages ---
5 LOGFILE="/var/log/auto-upgrade.log"
6 LOCKFILE="/var/run/auto-upgrade.lock"
7
8 # --- Vérification root ---
9 if [ "$(id -u)" -ne 0 ]; then
10 echo "Ce script doit être exécuté en root." >&2

kyx / apt-auto-upgrade.sh

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
1 #!/usr/bin/env bash
2 set -euo pipefail
3
4 # --- Réglages ---
5 LOGFILE="/var/log/auto-upgrade.log"
6 LOCKFILE="/var/run/auto-upgrade.lock"
7 export DEBIAN_FRONTEND=noninteractive
8 APT_OPTS=(-y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold)
9
10 # --- Vérification root ---

kyx / .vimrc

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
1 set expandtab
2 set shiftwidth=2
3 set tabstop=2
4 set softtabstop=2
5 set autoindent
6 set paste
7 set pastetoggle=
8 set nosmartindent
9 set nocindent
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 49ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文