diff options
author | luigi <luigi@FreeBSD.org> | 2002-03-08 12:33:48 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-03-08 12:33:48 +0000 |
commit | c5f52263f4a3e99cd9f97361df1b0bca6eeb46aa (patch) | |
tree | cd6b67bb229d9741841b8ba9a0aa92461e7fa0ae /release/picobsd/mfs_tree | |
parent | 4ee67ab5309129270f8241860f14f4e8f9dc3555 (diff) | |
download | FreeBSD-src-c5f52263f4a3e99cd9f97361df1b0bca6eeb46aa.zip FreeBSD-src-c5f52263f4a3e99cd9f97361df1b0bca6eeb46aa.tar.gz |
Do not depend on "expr" for doing arithmetic, use the shell builtin functions
(picobsd might not have the command available).
Diffstat (limited to 'release/picobsd/mfs_tree')
-rw-r--r-- | release/picobsd/mfs_tree/etc/rc.network | 2 |
1 files changed, 1 insertions, 1 deletions
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 |