home *** CD-ROM | disk | FTP | other *** search
/ ftp.eterna.com.au / 2014.06.ftp.eterna.com.au.tar / ftp.eterna.com.au / pub / rc.d.tar.gz / rc.d.tar / rc.d / routed < prev    next >
Text File  |  1998-09-23  |  286b  |  15 lines

  1. #! /bin/sh
  2.  
  3. # PROVIDE: routed
  4. # REQUIRE: daemon gated
  5.  
  6. if checkyesno gated && checkyesno routed; then
  7.     echo
  8.     logger -s "WARNING: gated and routed both requested to be run: " \
  9.         "running only gated."
  10. else
  11.     if checkyesno routed; then
  12.         echo -n ' routed';        routed $routed_flags
  13.     fi
  14. fi
  15.