opkg

223 阅读1分钟

opkg嵌入式设备,事实上的包管理工具

搜索软件包关键字

opkg find dnsmasq

删除软件包

opkg remove dnsmasq-full

安装软件包

opkg install smartdns

查询已安装软件包

opkg list-installed | grep dns

查询某软件包文件

opkg files smartdns

列出被用户修改过的软件包文件

opkg list-changed-conffiles

/opt/etc/init.d/S38smartdns
 Usage: /opt/etc/init.d/S38smartdns (start|stop|restart|check|kill|reconfigure)

nslookup -querytype=ptr smartdns
netstat | grep 53
ps | grep smart

其他

okpg使用

smartdns