Prepended 'sysupd' to begin/end touch files.
1 parent c1bd171 commit 0e683bb0ab49a1d87850c204c97804d028b5329b
@tundra tundra authored on 29 Mar 2013
Showing 1 changed file
View
4
sysupd
#!/bin/sh
# Update Various System Files, Ports, etc.
# Copyright (c) 2006-2013, TundraWare Inc, Des Plaines, IL USA
# All Rights Reserved
# $Id: sysupd,v 1.140 2013/03/29 19:08:58 tundra Exp $
# $Id: sysupd,v 1.141 2013/03/29 19:11:41 tundra Exp $
 
 
#####
# Where To Put The Various Log Files Generated Here
runupd()
{
log=$2/sysupd-$1.log
timestamp $log
touch $2/.$1-begin && eval $3 >>$log 2>&1 && touch $2/.$1-end &
touch $2/.sysupd-$1-begin && eval $3 >>$log 2>&1 && touch $2/.sysupd-$1-end &
}
 
# End of 'runupd()'