entry({"admin", "system"}, alias("admin", "system", "system"), _("System"), 30).index = true
entry({"admin", "system", "system"}, cbi("admin_system/system"), _("System"), 1)
entry({"admin", "system", "admin"}, cbi("admin_system/admin"), _("Administration"), 2)
- entry({"admin", "system", "packages"}, call("action_packages"), _("Software"), 10)
- entry({"admin", "system", "packages", "ipkg"}, form("admin_system/ipkg"))
+
+ if nixio.fs.access("/bin/opkg") then
+ entry({"admin", "system", "packages"}, call("action_packages"), _("Software"), 10)
+ entry({"admin", "system", "packages", "ipkg"}, form("admin_system/ipkg"))
+ end
+
entry({"admin", "system", "startup"}, form("admin_system/startup"), _("Startup"), 45)
if nixio.fs.access("/etc/config/fstab") then