⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.215
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
snap
/
core
/
17200
/
etc
/
init
/
View File Name :
cloud-log-shutdown.conf
# log shutdowns and reboots to the console (/dev/console) # this is useful for correlating logs start on runlevel PREVLEVEL=2 task console output script # runlevel(7) says INIT_HALT will be set to HALT or POWEROFF date=$(date --utc) case "$RUNLEVEL:$INIT_HALT" in 6:*) mode="reboot";; 0:HALT) mode="halt";; 0:POWEROFF) mode="poweroff";; 0:*) mode="shutdown-unknown";; esac { read seconds idle < /proc/uptime; } 2>/dev/null || : echo "$date: shutting down for $mode${seconds:+ [up ${seconds%.*}s]}." end script