Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#7741 closed defect (invalid)

ar71xx defconfig does not work ?

Reported by: Antonio Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Backfire 10.03
Keywords: Cc:

Description

Since /etc/config/network is provided as default by package/base-files, the script /etc/init.d/defconfig (from ar71xx base-files) wont overwrite the initial network settings at the very first boot:

	for f in $( ls /etc/defconfig/$board ); do
		if [ ! -e /etc/config/$f ]; then
			cp /etc/defconfig/$board/$f /etc/config/
		fi
	done

maybe removing /etc/config/network inside a NEW /ar71xx/base_files/lib/firstboot tree could fix the problem, ie something like 60_remove_network_config

#/!bin/sh
rm -f /etc/config/network
# network config will be replaced by defconfig at very first boot

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by juhosg

  • Resolution set to invalid
  • Status changed from new to closed

The default network configuration is removed during the image generation by: https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/base-files.mk

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.