File: systraq.in

package info (click to toggle)
systraq 20201231-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,176 kB
  • sloc: sh: 821; makefile: 130
file content (30 lines) | stat: -rw-r--r-- 1,007 bytes parent folder | download | duplicates (4)
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
#!/bin/sh -e

# Copyright (C) 2001, 2002, 2003, 2004 Joost van Baal
#
# This file is part of systraq.  Systraq is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the License,
# or (at your option) any later version.  You should have received a copy of
# the GNU General Public License along with this file (see COPYING).

# systraq - run some sysadmin commands to see what's going on

PACKAGE=@PACKAGE@
VERSION=@VERSION@
SYSCONF_PATH=/etc/systraq
BIN_PATH=/usr/bin
LOCALSTATE_PATH=/var/lib/systraq
HOME_PATH=/var/lib/systraq

## run-parts
RUN_PARTS=@RUN_PARTS@

## formerly known as ST_LMD5SUMS
ST_LDIGESTS=$LOCALSTATE_PATH/systraq.sums

export PACKAGE VERSION SYSCONF_PATH BIN_PATH LOCALSTATE_PATH HOME_PATH ST_LDIGESTS

## systraq.d should contain symlinks to /usr/lib/systraq/* (libexecdir/systraq)
## holding the scripts maintained in lib/
$RUN_PARTS $SYSCONF_PATH/systraq.d