home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / NETCFG / _NETCFG.TAR / var / adm / setup / setup.netconfig
Encoding:
Text File  |  1994-01-28  |  370 b   |  16 lines

  1. #!/bin/sh
  2. if [ -r /tmp/SeTcolor -o "$COLOR" = "on" ]; then
  3.  dialog --title "CONFIGURE NETWORK?" --yesno "Would you like to \
  4. configure your network?" 6 60
  5.  if [ $? = 0 ]; then
  6.   NETCONF="y"
  7.   sh sbin/netconfig.color
  8.  fi
  9. else
  10.  echo -n "Would you like to configure your network ([y]es, [n]o)? "
  11.  read NETCONF;
  12.  if [ "$NETCONF" = "y" ]; then
  13.   sh sbin/netconfig.tty
  14.  fi
  15. fi
  16.