Changeset 2329 in MondoRescue for branches/2.2.10/mondo/src/include/my-stuff.h


Ignore:
Timestamp:
Aug 18, 2009, 3:20:46 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3340@localhost: bruno | 2009-08-12 00:17:29 +0200
Improve portability by defining all cmdline usage in 1 include (/tmp for FreeBSD and /proc fior LInux). Also doing tht for scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/include/my-stuff.h

    r2237 r2329  
    9393 */
    9494#define MONDO_TRACEFILE "/var/log/mondo-tracefile.log"
     95
     96#ifdef __FreeBSD__
     97#define CMDLINE "/tmp/cmdline"
     98#else
     99// Default Linux
     100#define CMDLINE "/proc/cmdline"
     101#endif
    95102
    96103#undef assert
Note: See TracChangeset for help on using the changeset viewer.