Skip to content

Instantly share code, notes, and snippets.

@tony0x59
Last active January 18, 2017 09:28
Show Gist options
  • Save tony0x59/a938c1f666c19c2c0eb9 to your computer and use it in GitHub Desktop.
Save tony0x59/a938c1f666c19c2c0eb9 to your computer and use it in GitHub Desktop.
my wndr3800 openwrt custom make config
#!/bin/bash
mpfl="WNDR3700"
mpkg=""
# luci
mpkg+="luci luci-ssl luci-i18n-chinese"
# dnsmasq-full for FreeRouterV2
mpkg+=" -dnsmasq dnsmasq-full"
# iptables for FreeRouterV2
mpkg+=" ip ipset iptables-mod-ipopt iptables-mod-filter kmod-ipt-filter"
mpkg+=" iptables-mod-u32 kmod-ipt-u32"
# vpn
mpkg+=" ppp-mod-pptp"
# usb - auto mount
mpkg+=" block-mount"
mpkg+=" kmod-fs-ext4 kmod-fs-vfat kmod-fs-ntfs"
mpkg+=" kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8"
mpkg+=" kmod-scsi-core"
mpkg+=" kmod-usb-core kmod-usb-ohci kmod-usb-storage kmod-usb-storage-extras kmod-usb2"
# samba 无线使用时高CPU占用 用于管理文件
mpkg+=" samba36-server luci-app-samba"
# dlna 用于播放视频 低CPU占用
mpkg+=" minidlna luci-app-minidlna"
#mpkg+=" ushare luci-app-ushare"
# hd-idle
mpkg+=" hd-idle luci-app-hd-idle"
# xunlei
#mpkg+=" luci-app-xunlei"
echo '---------------------------'
echo $mpfl
echo "$mpkg"
echo '---------------------------'
make image PROFILE=$mpfl PACKAGES="$mpkg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment