■ ■ ■ ■ ■ ■
server/original_serverstrings.txt
1 | | - | // main.c Strings======================================== |
2 | | - | |
3 | | - | // Note that we use a C code style for comments... |
4 | | - | // Recommend that we list the name of the sourcecode file that contains/uses |
5 | | - | // the string like we did above. |
6 | | - | // |
7 | | - | // The "#define n" portion below is standard. |
8 | | - | // |
9 | | - | // Name of String String contents enclosed in double quotes. |
10 | | - | // | | |
11 | | - | // | | |
12 | | - | // | | |
13 | | - | // V V |
14 | | - | // main.c |
15 | | - | #define n insufficient_permissions " Insufficient permissions. Try again knucklehead.\n" |
16 | | - | #define n usageString "Usage:\n" |
17 | | - | #define n commandString "-a [address] -i [interval] -I [interface] \n\n" |
18 | | - | #define n aOptionString "[-a address] - beacon LP IP address\n" |
19 | | - | #define n pOptionString "[-p port] - (optinal) beacon LP port [default: 443]\n" |
20 | | - | #define n iOptionString "[-i interval] - beacon interval (in seconds) [default: 3 hours]\n" |
21 | | - | #define n IOptionString "[-I interface] - Solaris only, interface to listen for triggers\n" |
22 | | - | #define n dOptionString "[-d b_delay] - (optional) initial beacon delay (in seconds) [default: 2 minutes]\n" |
23 | | - | #define n tOptionString "[-t t_delay] - (optional) delay between trigger received & callback +/- 30 sec (in sec) [default: 1 min]\n" |
24 | | - | #define n hOptionString "[-h] - print help\n\n\n" |
25 | | - | #define n example_head "Example:\n" |
26 | | - | #define n example_line1 "./hived-solaris-sparc-dbg -a 10.3.2.76 -p 9999 -i 100000 -I hme0\n" |
27 | | - | #define n noBeaconPortString " No Beacon Port Specified! \n" |
28 | | - | #define n noBeaconIPString " No Beacon IP address specified! \n" |
29 | | - | #define n noBeaconInterval " No Beacon Interval specified! \n" |
30 | | - | #define n beaconFailStartString " Beacon Failed to Start!\n" |
31 | | - | #define n persistFailSetupString " Could not enable Persistence!\n" |
32 | | - | #define n cmdLineOptionFlags "I:a:p:d:i:t:hc" |
33 | | - | #define n proc_uptime "/proc/uptime" |
34 | | - | #define n interfaceRequiredString " You must use the -I option for Solaris, this will abort shortly... " |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |