mirror of https://github.com/CIRCL/Circlean
assume the permissions of the home directory are correct. Allows us to have the root FS RO
parent
3835b5f887
commit
a0f168facb
|
@ -12,17 +12,11 @@ fi
|
||||||
|
|
||||||
clean(){
|
clean(){
|
||||||
echo Done, cleaning.
|
echo Done, cleaning.
|
||||||
#mount -o remount,rw /
|
|
||||||
${SYNC}
|
${SYNC}
|
||||||
}
|
}
|
||||||
|
|
||||||
trap clean EXIT TERM INT
|
trap clean EXIT TERM INT
|
||||||
|
|
||||||
# Remount the root filesystem in RO mode
|
|
||||||
#mount -o remount,ro /
|
|
||||||
|
|
||||||
chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/
|
|
||||||
|
|
||||||
su ${USERNAME} -c ./groomer.sh
|
su ${USERNAME} -c ./groomer.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,4 @@ apt-get autoremove
|
||||||
apt-get install libreoffice p7zip-full libfontforge1
|
apt-get install libreoffice p7zip-full libfontforge1
|
||||||
dpkg -i libpoppler28*.deb pdf2htmlex*.deb
|
dpkg -i libpoppler28*.deb pdf2htmlex*.deb
|
||||||
|
|
||||||
|
chown -R kitten:kitten /home/kitten
|
||||||
|
|
Loading…
Reference in New Issue