gcc484perl-5.22
Last change
on this file since 128fde4 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
194 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #!/bin/bash |
---|
| 2 | # Syn-3 script |
---|
| 3 | # Reset a service to the default state it gets after booting |
---|
| 4 | SERVICE=$1 |
---|
| 5 | |
---|
| 6 | if [ -e $SERVICE/down ] ; then |
---|
| 7 | svcstop $SERVICE |
---|
| 8 | exit $? |
---|
| 9 | else |
---|
| 10 | svcstart $SERVICE |
---|
| 11 | exit $? |
---|
| 12 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.