Skip to content

Commit

Permalink
Merge branch 'devel' into touch-ufw
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker authored Aug 18, 2019
2 parents 7affa71 + 4a764ee commit 69396d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions bin/ncp/CONFIG/nc-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ EOF
ncc config:system:set preview_max_x --value 2048
ncc config:system:set preview_max_y --value 2048
ncc config:system:set jpeg_quality --value 60
ncc config:app:set preview jpeg_quality --value="60"

# other
ncc config:system:set overwriteprotocol --value=https
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-automount.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Nc-automount",
"title": "nc-automount",
"description": "Automount USB drives by plugging them in",
"info": "Plugged in USB drives will be automounted under /media\non boot or at the moment of insertion.\n\nFormat your drive as ext4/btrfs in order to move NC datafolder or database\nVFAT or NTFS is not recommended for this task, as it does not suport permissions\n\nIMPORTANT: halt or umount the drive before removing",
"info": "Plugged in USB drives will be automounted under /media\non boot or at the moment of insertion.\n\nFormat your drive as ext4/btrfs in order to move NC datafolder or database. \n\nVFAT or NTFS is not recommended for this task, as it does not suport permissions \n\n WARNING If you want add a second drive later, make sure you have added a LABEL to the first and all other drives to be mounted when formating, as they will then be mounted at /media/LABEL instead of /media/USBdrive \n\nIMPORTANT: halt or umount the drive before removing",
"infotitle": "Automount notes",
"params": [
{
Expand Down
5 changes: 4 additions & 1 deletion updates/1.16.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ apt-get install -y --no-install-recommends php-smbclient exfat-fuse exfat-utils
# install lsb-release
apt-get install -y --no-install-recommends lsb-release

# tweak previews
ncc config:app:set preview jpeg_quality --value="60"

# missed some sources
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* &>/dev/null
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* &>/dev/null || true

# docker images only
[[ -f /.docker-image ]] && {
Expand Down

0 comments on commit 69396d9

Please sign in to comment.