OXIESEC PANEL
- Current Dir:
/
/
etc
/
profile.d
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/20/2025 05:23:23 PM
rwxr-xr-x
📄
01-locale-fix.sh
96 bytes
09/27/2019 06:24:34 PM
rw-r--r--
📄
Z97-byobu.sh
1.52 KB
12/04/2017 01:46:48 PM
rw-r--r--
📄
Z99-cloud-locale-test.sh
3.34 KB
10/04/2019 03:35:54 PM
rwxr-xr-x
📄
Z99-cloudinit-warnings.sh
873 bytes
10/04/2019 03:35:54 PM
rwxr-xr-x
📄
apps-bin-path.sh
835 bytes
02/18/2022 02:06:51 PM
rw-r--r--
📄
bash_completion.sh
664 bytes
04/02/2018 02:16:46 AM
rw-r--r--
📄
cedilla-portuguese.sh
1003 bytes
12/29/2015 10:57:42 AM
rw-r--r--
📄
mail.sh
88 bytes
10/02/2020 11:26:16 AM
rw-r--r--
Editing: Z99-cloudinit-warnings.sh
Close
#!/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