HEX
Server: Apache
System: Linux iad1-shared-e1-26 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: ricpug (13815490)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //etc/init.d/gological
#!/bin/bash
### BEGIN INIT INFO
# Provides:          gological
# Required-Start:
# Required-Stop:     $network
# Default-Start:     2
# Default-Stop:      0 1 4 6
# Short-Description: Start daemon at boot time
# Description:       Enable service provided by daemon.
# X-Start-After:     util-vserver
### END INIT INFO

# Check for any passed-in argument. Need to NOT gological if status is passed in! Only
# take action if nothing is passed in.
if [ -z "$1" ] ;then
	/bin/bash /etc/network/go.physical-logical.sh
	/etc/init.d/ssh reload
	/etc/init.d/ssh restart
fi