From e0bd35a838a1a7f14eeb5e51c16abf35c81cef21 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Wed, 19 Oct 2016 18:34:52 -0400 Subject: [PATCH] log user-setup scripts to logfile --- custompkg/root/usr/local/bin/new-user-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custompkg/root/usr/local/bin/new-user-setup b/custompkg/root/usr/local/bin/new-user-setup index 2fdcf8a..7b0cd04 100644 --- a/custompkg/root/usr/local/bin/new-user-setup +++ b/custompkg/root/usr/local/bin/new-user-setup @@ -5,6 +5,6 @@ rsync --no-owner -avP /etc/skel/ $HOME/ # run modular setup scripts for FN in $HOME/Library/user-setup/*.sh ; do - bash "$FN" + bash "$FN" 2>&1 | tee -a $HOME/Library/Logs/user-setup.log rm "$FN" done