mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Update bkpsys-2fsarchive.sh
This commit is contained in:
parent
11c97848a5
commit
9934211d40
@ -9,6 +9,10 @@ PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/gam
|
||||
# TODO BOOJUM STAFF - adjust for client retention needs!
|
||||
keepdays=31
|
||||
|
||||
# Vital dependency
|
||||
[ $(dpkg -l |grep -c fsarchiver -gt 0 ] || apt install -y fsarchiver
|
||||
[ $(dpkg -l |grep -c lzop -gt 0 ] || apt install -y lzop
|
||||
|
||||
rootdev=`df / |grep /dev |awk '{print $1}'`
|
||||
rootpedit=`echo ${rootdev##*/}` # strip off beginning, and last slash: sde1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user