HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //usr/share/bug/needrestart/script
#!/bin/sh

PATH="/sbin:$PATH"

exec >&3

if [ -x /usr/sbin/needrestart ] ; then
	printf "needrestart output:\n"
	/usr/sbin/needrestart  -v -r l
fi

printf "\n"

if [ -x /usr/sbin/checkrestart ] ; then
	printf "checkrestart output:\n"
	/usr/sbin/checkrestart -v
fi

printf "\n"