Server IP : 15.235.198.142 / Your IP : 216.73.216.24 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc/profile.d/ |
Upload File : |
#!/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