You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
570 B

#!/bin/sh
mkdir -p /tmp/logs
echo "==> extra packages"
extrap=/tmp/bin/extrapackages
if [ -f $extrap ]; then
sh $extrap 2>&1 | tee /tmp/logs/extrapackages.log
fi
echo "==> exec custom"
extrashell=/tmp/bin/custom.sh
if [ -f $extrashell ]; then
sh $extrashell 2>&1 | tee /tmp/logs/custom1.log
fi
echo "==> extra add"
extrap1=/tmp/bin/extrapackages1
if [ -f $extrap1 ]; then
sh $extrap1 2>&1 | tee /tmp/logs/extrapackages1.log
fi
echo "==> exec sh 2"
extrashell1=/tmp/bin/custom1.sh
if [ -f $extrashell1 ]; then
sh $extrashell1 2>&1 | tee /tmp/logs/custom2.log
fi