SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

: /usr/lib64/pm-utils/bin/ [ drwxr-xr-x ]
Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.28 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-11 06:12:13
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : service
#!/bin/sh

# Handle service invocation on distros that do not have a "service" command.
# It handles LSB by default, and other distros that the maintainer is aware of.


REL="/etc/slackware-release /etc/slackware-version 
     /etc/arch-release"

svc="/etc/init.d/$1"

exists() { [ -x "$svc" ]; }
start() { "$svc" start; }
stop() { "$svc" stop; }
status() { "$svc" status; }
    

for rel in $REL; do
    [ -f "$rel" ] || continue
    case $rel in
	*slackware*) svc="/etc/rc.d/rc.$1";;
	*arch*) svc="/etc/rc.d/$1"
	        status() { [ -e "/var/run/daemons/$1" ] && echo "$1 running"; }
		;;
    esac
    break
done

exists || { echo "$1: unrecognized service or non-LSB Linux distro"; exit 1; }

case $2 in
    start|stop|status) "$2"  ;;
    restart) stop; start ;;
    *) echo "$2: Unrecognized service command"
       exit 1 ;;
esac
    
© 2025 Faizzz-Chin