From c5f52263f4a3e99cd9f97361df1b0bca6eeb46aa Mon Sep 17 00:00:00 2001 From: luigi Date: Fri, 8 Mar 2002 12:33:48 +0000 Subject: Do not depend on "expr" for doing arithmetic, use the shell builtin functions (picobsd might not have the command available). --- release/picobsd/mfs_tree/etc/rc.network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/picobsd/mfs_tree') diff --git a/release/picobsd/mfs_tree/etc/rc.network b/release/picobsd/mfs_tree/etc/rc.network index d7ec035..8244681 100644 --- a/release/picobsd/mfs_tree/etc/rc.network +++ b/release/picobsd/mfs_tree/etc/rc.network @@ -21,7 +21,7 @@ network_pass1() { eval ifconfig_args=\$ifconfig_${ifn}_alias${alias} if [ -n "${ifconfig_args}" ]; then ifconfig ${ifn} ${ifconfig_args} alias - alias=`expr ${alias} + 1` + alias=$((${alias} + 1)) else break; fi -- cgit v1.1