# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/sbin/snappd/scripts/DHCPSetup.pl 1.4 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2000,2002 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # #!/usr/bin/perl -T # @(#)86 1.4 src/bos/usr/sbin/snappd/scripts/DHCPSetup.pl, snapp, bos720 5/31/02 07:49:44 #----------------------------------------------------------- #-------- Name DHCPSetup.pl #----------------------------------------------------------- #-------- This page requests that the user specify when #-------- they want DHCP to be started. #----------------------------------------------------------- #-------- Links to pages: DoDHCPSetup.pl $ENV{'PATH'} = '/bin:/usr/bin'; #----- get the user entered data from the command line $interface = @ARGV[0]; #generate page, this page also includes a link to view the message that was returned open(OUTFILE,">/var/snapp/snapp.fres.tmp"); print OUTFILE < DHCP Configuration ($interface): 150 15 5 30 5 15 15 65 60 150 12 5 30 120 20 20 20 EOXML close(OUTFILE); system("/usr/bin/cp /var/snapp/snapp.fres.tmp /var/snapp/snapp.fres");