Rev 3 | Rev 824 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 823 | ||
---|---|---|---|
Line 165... | Line 165... | ||
165 | @ |
165 | @ |
166 | 166 | ||
167 | mv $tmpfile $conffile |
167 | mv $tmpfile $conffile |
168 | 168 | ||
169 | initdir=/etc/init.d |
169 | initdir=/etc/init.d |
170 | [ -d $initdir ] || |
170 | [ -d $initdir ] || initdir=/etc/rc.d/init.d |
171 | initscript=$initdir/httpd |
171 | initscript=$initdir/httpd |
172 | [ -f $initscript ] || initscript=$initdir/apache |
172 | [ -f $initscript ] || initscript=$initdir/apache |
173 | if [ -f $initscript ]; then |
173 | if [ -f $initscript ]; then |
174 | $initscript restart |
174 | $initscript restart |
175 | else |
175 | else |