Index: scripts/lockdown.sh =================================================================== diff -u -r3f328e08487912536ea5f9633014d08fd2010dac -rb003a83a376146935b9c0f707fc838a471738a9c --- scripts/lockdown.sh (.../lockdown.sh) (revision 3f328e08487912536ea5f9633014d08fd2010dac) +++ scripts/lockdown.sh (.../lockdown.sh) (revision b003a83a376146935b9c0f707fc838a471738a9c) @@ -230,7 +230,19 @@ # Add Denali and Cloud to other user groups as needed. usermod -a -G video denali usermod -a -G input denali - usermod -a -G tty denali + usermod -a -G tty denali + + # copy the settings crc + local FIL_RMD=readme.md + local FIL_CRC=settings.crc + local SRC_CRC=/home/root/.config/ + local DST_CRC=/var/configurations/ + cp "$SRC_CRC$FIL_RMD" "$DST_CRC$FIL_RMD" #TODO remove from the shasum + cp "$SRC_CRC$FIL_CRC" "$DST_CRC$FIL_CRC" + chown denali.denali "$DST_CRC$FIL_CRC" + chmod u=r "$DST_CRC$FIL_CRC" + chmod g-rwx "$DST_CRC$FIL_CRC" + chmod o-rwx "$DST_CRC$FIL_CRC" } function cleanup() {