From 411d818008e682cbaf9441a7fbf335333cfab90e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 17 Jan 2013 16:16:02 +0000 Subject: base-files: rename ULA generation script SVN-Revision: 35204 --- package/base-files/Makefile | 2 +- package/base-files/files/etc/uci-defaults/generate-ula | 18 ------------------ .../files/etc/uci-defaults/network-generate-ula | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 package/base-files/files/etc/uci-defaults/generate-ula create mode 100644 package/base-files/files/etc/uci-defaults/network-generate-ula (limited to 'package/base-files') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 7c9c14de9c..01dd59f2b2 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/version.mk PKG_NAME:=base-files -PKG_RELEASE:=125 +PKG_RELEASE:=126 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/etc/uci-defaults/generate-ula b/package/base-files/files/etc/uci-defaults/generate-ula deleted file mode 100644 index f3e493145f..0000000000 --- a/package/base-files/files/etc/uci-defaults/generate-ula +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -[ "$(uci get network.globals.ula_prefix)" != "auto" ] && exit 0 -# Sometimes results are empty, therefore try until it works... -local r1 r2 r3 -while [ -z "$r1" -o -z "$r2" -o -z "$r3" ]; do - r1=$(printf "%02x" $(($(/dev/null - set network.globals.ula_prefix=fd$r1:$r2:$r3::/48 - commit network -EOF - -exit 0 - diff --git a/package/base-files/files/etc/uci-defaults/network-generate-ula b/package/base-files/files/etc/uci-defaults/network-generate-ula new file mode 100644 index 0000000000..f3e493145f --- /dev/null +++ b/package/base-files/files/etc/uci-defaults/network-generate-ula @@ -0,0 +1,18 @@ +#!/bin/sh + +[ "$(uci get network.globals.ula_prefix)" != "auto" ] && exit 0 +# Sometimes results are empty, therefore try until it works... +local r1 r2 r3 +while [ -z "$r1" -o -z "$r2" -o -z "$r3" ]; do + r1=$(printf "%02x" $(($(/dev/null + set network.globals.ula_prefix=fd$r1:$r2:$r3::/48 + commit network +EOF + +exit 0 + -- cgit v1.2.3