From 4fcc7439fb4e203f510e133a21e1bf9150b79368 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 3 Nov 2009 21:04:43 +0100 Subject: update X11, kerberos, samba, bluez - fix some ipkg issues with ubuntu - use grub2 for alix1c, no grub1 dependency on host - boots up on alix1c - fix some bcm203x problems --- package/base-files/extra/etc/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files') diff --git a/package/base-files/extra/etc/functions.sh b/package/base-files/extra/etc/functions.sh index 6563c1d0e..5d76f4843 100644 --- a/package/base-files/extra/etc/functions.sh +++ b/package/base-files/extra/etc/functions.sh @@ -64,7 +64,7 @@ get_next_uid() { uid=1 while grep "^[^:]*:[^:]*:$uid:" $IPKG_INSTROOT/etc/passwd \ >/dev/null 2>&1; do - let uid++ + uid=$(($uid+1)) done echo $uid } @@ -73,7 +73,7 @@ get_next_gid() { gid=1 while grep "^[^:]*:[^:]*:$gid:" $IPKG_INSTROOT/etc/group \ >/dev/null 2>&1; do - let gid++ + gid=$(($gid+1)) done echo $gid } -- cgit v1.2.3