Skip to content

Commit

Permalink
[script] Add lightsensor to backup
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeyexp committed Nov 23, 2018
1 parent a973b5f commit 70c3143
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ for FSMOUNTPOINT in $(ls -d /media/USBDRIVES/* | grep -v CSSTORAGE); do
cp -f /tmp/rootfs/etc/modules /media/USBDRIVES/${PARTITION}/cs-backup/${SERIAL}/etc/ 2>/dev/null
cp -f /tmp/rootfs/etc/X11/xorg.conf.d/99-calibration.conf /media/USBDRIVES/${PARTITION}/cs-backup/${SERIAL}/etc/X11/xorg.conf.d/ 2>/dev/null
cp -f /tmp/rootfs/etc/pulse/client.conf /media/USBDRIVES/${PARTITION}/cs-backup/${SERIAL}/etc/pulse/ 2>/dev/null
cp -f /tmp/rootfs/etc/cs_lightsensor /media/USBDRIVES/${PARTITION}/cs-backup/${SERIAL}/etc/ 2>/dev/null
sleep 1
# umount after backup
printf "[ ${CYAN}INFO${GRAY} ] *******************************************************\n" >/dev/tty3
Expand Down

0 comments on commit 70c3143

Please sign in to comment.