add comment
This commit is contained in:
parent
fe1d95af35
commit
34c4702bac
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ echo stack:pass | chroot $ROOTFS chpasswd
|
|||
# stack requires)
|
||||
echo "stack ALL=(ALL) NOPASSWD: ALL" >> $ROOTFS/etc/sudoers
|
||||
|
||||
# Gracefully cp only if source file/dir exists
|
||||
function cp_it {
|
||||
if [ -e $1 ] || [ -d $1 ]; then
|
||||
cp -pr $1 $2
|
||||
|
|
Loading…
Reference in a new issue