░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/snap/core/17292/etc/profile.d
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: Z99-cloudinit-warnings.sh
#!/bin/sh # This file is part of cloud-init. See LICENSE file for license information. # Purpose: show user warnings on login. cloud_init_warnings() { command -v local >/dev/null && local _local="local" || typeset _local="typeset" $_local warning="" idir="/var/lib/cloud/instance" n=0 $_local warndir="$idir/warnings" $_local ufile="$HOME/.cloud-warnings.skip" sfile="$warndir/.skip" [ -d "$warndir" ] || return 0 [ ! -f "$ufile" ] || return 0 [ ! -f "$sfile" ] || return 0 for warning in "$warndir"/*; do [ -f "$warning" ] || continue cat "$warning" n=$((n+1)) done [ $n -eq 0 ] && return 0 echo "" echo "Disable the warnings above by:" echo " touch $ufile" echo "or" echo " touch $sfile" } cloud_init_warnings 1>&2 unset cloud_init_warnings # vi: syntax=sh ts=4 expandtab
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 bash_completion.sh
SH
663 B
2016-05-18 09:19
EDIT
📄 Z99-cloud-locale-test.sh
SH
20 B
2026-02-25 16:31
EDIT
📄 Z99-cloudinit-warnings.sh
SH
873 B
2025-07-28 18:21
EDIT