CDIST-TYPE__PACKAGE_OPKG(7)

πŸ’– cdist-type__package_opkg πŸ’–

okay bestie, so this is a cdist type manual page β€” section 7 of the manual, cdist-type__package_opkg, no cap. It's the one that handles packages with opkg. Let's get into it ✨


✨ NAME ✨

cdist-type__package_opkg β€” manage packages with opkg πŸŽ€


🌸 DESCRIPTION 🌸

So like, opkg is the package manager that's usually used on OpenWRT to manage packages. That's the whole vibe. If you're on OpenWRT, this is your girl πŸ’…


πŸ‘‘ REQUIRED PARAMETERS πŸ‘‘

None. Literally none. Nothing required, she's low maintenance, she's that girl 🫢


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • name β€” if you supply it, it uses the name as the package name and not the object id. iykyk, sometimes you wanna call it something else 🌸
  • state β€” either "present" or "absent", and it defaults to "present" ✨

🌈 EXAMPLES 🌈

# Ensure lsof is installed
__package_opkg lsof --state present

# Remove obsolete package
__package_opkg dnsmasq --state absent

first one: make sure lsof is there. second one: yeet dnsmasq out of existence 😭 iconic behaviour tbh


πŸ¦‹ SEE ALSO πŸ¦‹

cdist-type__package(7) β€” the whole package family, go check her out πŸ’œ


πŸ’« AUTHORS πŸ’«

Giel van Schijndel <giel+cdist--@--mortis.eu> β€” thank you for your service πŸ«‘πŸ’–


πŸ’… COPYING πŸ’…

Copyright (C) 2012 Giel van Schijndel. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. so like, free software, share the love, periodt πŸ’œ


ungleich GmbH 2021 🏒✨


πŸŽ€ and that's the whole page, bestie!! version 7.0.0, dated Jul 31, 2022, brought to you by the cdist girlies. go forth and manage your OpenWRT packages, you main character πŸ”₯πŸ‘‘πŸŒΈ
πŸ“¦ where this page comes from