File: lsmgen.sh

package info (click to toggle)
apcupsd 3.8.5-1.1.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,012 kB
  • ctags: 2,783
  • sloc: ansic: 26,374; sh: 3,012; makefile: 1,860; cpp: 1,713; perl: 191; sed: 93
file content (69 lines) | stat: -rwxr-xr-x 2,697 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/perl
#
# lsmgen.sh -- generate current LSM for apcupsd
#
$version = $ARGV[0];
$size = substr($ARGV[1], 0, 3);

@months
  = ('JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','NOV','DEC');

my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$month = $months[$mon];

print <<EOF;
Begin3
Title:		apcupsd
Version:	$version
Entered-date:	${mday}${month}${year}
Description:	UPS power management under Linux for APCC Products.
		BackUPS, BackUPS Pro, SmartUPS V/S, and SmartUPS(NET/RM)
		success. MatrixUPS and ShareUPS testing stage.
		SmartUPS V/S is untested, but should be okay.
		It allows your computer/server to run during power problems
		for a specified length of time or the life of the batteries
		in your BackUPS, BackUPS Pro, SmartUPS v/s, or SmartUPS, and
		then properly executes a controlled shutdown during an
		extended power failure.
		The following APC cables are supported fully:
			940-0020B,
			940-0024B, 940-0024C, 940-0024G,
			940-1524C,
			940-0095A, 940-0095C,
			940-0023A(Last resort, please pick another.)
		Successful tests on BackUPS 400/600, BackUPS Pro 420/650/1400,
		SmartUPS v/s, and SmartUPS SU700RM/SU1250/SU1400RM w/ SMNP
		PowerNET card. Current testing with ShareUPS/SU3000 Matrix.
		EtherUPS or NetUPS is clean and works but needs slave
		disconnect/reconnect polish.
		APCaccess is the IPC management tool for "apcupsd".
		APCaccess is used to manage slaves locally.
Keywords:	power, ups, BackUPS, BackUPS Pro, SmartUPS V/S, SmartUPS,
		MatrixUPS, PowerNET, ShareUPS, (EtherUPS or NetUPS) (C)
Required:	Linux 2.0.X, gcc 2.7.2
		Linux 2.0.33, gcc 2.7.2.3, [ libc6|libc.so.2.0.6|glibc2 ]
Author:		Andre Hedrick <hedrick\@astro.dyer.vanderbilt.edu>
Maintained-by:	Andre Hedrick
Linux Flavors:	Slackware 3.X, S.u.S.e 5.X, UNIFIX Linux 2.0,
		RedHat [3|4|5].X, Debian 1.X.X
Primary-site:	sunsite.unc.edu/pub/Linux/system/ups	
		${size}K apcupsd-$version.tar.gz
Alternate-site:	http://www.dyer.vanderbilt.edu/server/apcupsd/
		${size}K apcupsd-$version.tar.gz
Copying-policy:	Package is to remain in original format.
		RPM, DEB, and other all other package managers are forbidden,
		without formal requests.  Addition of a GPL license to the 
		package will be a direct violation of this policy.
		For non-commerial use, without commerial license agreement
		Office of Technology Transfer, Vanderbilt University.
Copyright:	Andre M. Hedrick <hedrick\@astro.dyer.vanderbilt.edu>
Platform:	Linux(ix86)
Other:		S.u.S.e 5.0 distribution donated by S.u.S.e U.S.A.
		ASA Computers, Inc. donated a BackUPS Pro 650 PnP
		<http://www.asacomputers.com/> <kedar\@asacomputers.com>
End
Platforms:	All
Copying-policy:	GPL
End
EOF