. capitalise the first letter at COMMENT; . add PLIST_FILES and MAN8; . remove pkg-plist (4 lines); . do not hard code gcc at the source Makefile, build with the default compiler and allow a compiler to be redefined; . the same for CFLAGS; . make use SUB_FILES=pkg-message and enhance pkg-message.
6 lines
303 B
Text
6 lines
303 B
Text
A configuration file has been installed in %%PREFIX%%/etc/rc.d/mgeupsd.sh.
|
|
Examine it to make sure it is suitable for your system.
|
|
|
|
A sample script that handles the various power messages has been placed in
|
|
%%PREFIX%%/sbin/powerhandler. You will probably want to edit it to suit
|
|
your particular needs.
|