mirror of https://github.com/CIRCL/Circlean
cleanup
parent
0581478643
commit
8810af8ecd
|
@ -107,19 +107,6 @@ do
|
||||||
|
|
||||||
main ${target_dir}
|
main ${target_dir}
|
||||||
|
|
||||||
#if [ $COPYDIRTYPDF -eq 1 ]; then
|
|
||||||
# pdfCopyDirty ${SRC} $targetDir
|
|
||||||
#else
|
|
||||||
# pdfCopyClean ${SRC} $targetDir
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# copy stuff
|
|
||||||
#copySafeFiles ${SRC} $targetDir
|
|
||||||
#convertCopyFiles ${SRC} $targetDir $TEMP
|
|
||||||
#rm -rf ${TEMP}/*
|
|
||||||
|
|
||||||
# unpack and process archives
|
|
||||||
#unpackZip ${SRC} $targetDir $TEMP
|
|
||||||
ls -lR "${target_dir}"
|
ls -lR "${target_dir}"
|
||||||
fi
|
fi
|
||||||
let PARTCOUNT=`expr $PARTCOUNT + 1`
|
let PARTCOUNT=`expr $PARTCOUNT + 1`
|
||||||
|
|
|
@ -14,7 +14,6 @@ clean(){
|
||||||
echo Done, cleaning.
|
echo Done, cleaning.
|
||||||
#mount -o remount,rw /
|
#mount -o remount,rw /
|
||||||
${SYNC}
|
${SYNC}
|
||||||
# shutdown -h now
|
|
||||||
}
|
}
|
||||||
|
|
||||||
trap clean EXIT TERM INT
|
trap clean EXIT TERM INT
|
||||||
|
@ -22,8 +21,8 @@ trap clean EXIT TERM INT
|
||||||
# Remount the root filesystem in RO mode
|
# Remount the root filesystem in RO mode
|
||||||
#mount -o remount,ro /
|
#mount -o remount,ro /
|
||||||
|
|
||||||
chown -R kitten:kitten /home/${USERNAME}/
|
chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/
|
||||||
|
|
||||||
su ${USERNAME} -c ./groomer.sh
|
su ${USERNAME} -c ./groomer.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue