View file File name : gological Content :#!/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