Skip to content

Instantly share code, notes, and snippets.

@OneCDOnly
Created October 12, 2019 07:01
Show Gist options
  • Save OneCDOnly/13b1f85e4c23c65f5fc5fe7228e6e2b6 to your computer and use it in GitHub Desktop.
Save OneCDOnly/13b1f85e4c23c65f5fc5fe7228e6e2b6 to your computer and use it in GitHub Desktop.
disable all installed QPKGs in QTS
packages=($(grep '^\[.*\]$' /etc/config/qpkg.conf | sed 's|[][]||g'))
for package in ${packages[*]}; do setcfg $package Enable FALSE -f /etc/config/qpkg.conf; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment