source: /cluster/svnroot/bccd-ng/branches/sam-test_fw/packages/etc/init.d/bccd-bootflags @ 3072

Last change on this file since 3072 was 3072, checked in by leemasa, 10 years ago

re #524:
Added support for automatic shutdown w/o password, added code to automatically shut down after test suite
Made a file, /bccd_boot_flags that populates with boot flags from the NIC on startup. Now accessing boot flags is as simple as source /bccd_boot_flags.

  • Property svn:executable set to *
File size: 379 bytes
Line 
1#!/usr/bin/perl
2
3### BEGIN INIT INFO
4# Provides:         /bccd_boot_flags
5# Required-Start:
6# Required-Stop:
7# Default-Start:     S
8# Default-Stop:
9# Short-Description: Grab boot flags from NIC
10### END INIT INFO
11
12use strict;
13use Bccd;
14
15my %request = ( "BUILD_CONTROL" => "1",
16                                "EXPECTED_NODES" => "8,4",);
17Bccd::get_boot_flags_from_NIC(%request);
18print "TEST\nTEST\nTEST!!!";
Note: See TracBrowser for help on using the repository browser.