Skip to content

Custom firmware files

Dan Phiffer edited this page Jan 20, 2014 · 1 revision

These are the files that overwrite the OpenWrt defaults.

/etc/banner

  ___   ___ ___ _   _ _ __  _   _  | |__   ___ _ __ ___ 
 / _ \ / __/ __| | | | '_ \| | | | | '_ \ / _ \ '__/ _ \
| (_) | (_| (__| |_| | |_) | |_| |_| | | |  __/ | |  __/
 \___/ \___\___|\__,_| .__/ \__, (_)_| |_|\___|_|  \___|
                     |_|    |___/                       
                                           OpenWrt 12.09

/etc/opkg.conf

src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.0
9-rc1/ar71xx/generic/packages
dest root /
dest ram /tmp
dest opt /opt
lists_dir ext /var/opkg-lists
option overlay_root /overlay

/etc/config/fstab

config global automount
	option from_fstab 1
	option anon_mount 0
	
config global autoswap
	option from_fstab 1
	option anon_swap 0

#config swap
#	option device	/dev/sda1
#	option enabled 	1
	
config mount
	option target	/usb
	option device	/dev/sda1
	option fstype	vfat
	option options	rw,sync
	option enabled	1
	option enabled_fsck 0

config mount
	option target	/opt
	option device	/usb/occupy.here/data/opt.img
	option fstype	ext4
	option options	loop,rw,sync
	option enabled	1
	option enabled_fsck 0

/etc/config/system

config system
	option hostname	occupy_here
	option timezone	UTC

config timeserver ntp
	list server	0.openwrt.pool.ntp.org
	list server	1.openwrt.pool.ntp.org
	list server	2.openwrt.pool.ntp.org
	list server	3.openwrt.pool.ntp.org
	option enable_server 0

/root/profile

export PATH="/opt/usr/bin:$PATH"

/opt

(empty folder for mounting into)

/usb

(empty folder for mounting into)