File: cron-storebackup

package info (click to toggle)
storebackup 1.19-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 772 kB
  • ctags: 369
  • sloc: perl: 11,978; makefile: 49; sh: 42
file content (17 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e

# /etc/cron.daily/storebackup -- Run storeBackup on all files in
# /etc/storebackup.d/ sequentially.

# Written by Arthur Korn <arthur@korn.ch> for Debian
# (http://www.debian.org), this script is in the PUBLIC DOMAIN.

PATH=/bin:/sbin:/usr/bin:/usr/sbin

configs=`run-parts --list /etc/storebackup.d/`

if [ -x /usr/bin/storeBackup -a "$configs" ]; then
    for file in $configs
    do nice storeBackup -f "$file"
    done
fi