CHips L MINI SHELL

CHips L pro

Current Path : /proc/3/task/3/root/proc/2/cwd/opt/zabbix_scripts/
Upload File :
Current File : //proc/3/task/3/root/proc/2/cwd/opt/zabbix_scripts/checkRebootRequired.sh

#!/bin/bash

# API Function Documentation
# https://documentation.cpanel.net/display/DD/WHM+API+1+Functions+-+system_needs_reboot

/sbin/whmapi1 system_needs_reboot | grep -E '^\ \ needs_reboot:\ [0-1]{1}$' | awk '{print $2}'

Copyright 2K16 - 2K18 Indonesian Hacker Rulez