Created
October 12, 2019 07:01
-
-
Save OneCDOnly/13b1f85e4c23c65f5fc5fe7228e6e2b6 to your computer and use it in GitHub Desktop.
disable all installed QPKGs in QTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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