aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions.sh
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-13 15:51:30 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-13 15:51:30 +0100
commit5c2e409be7053b8ef994a2af7034b0210437ac31 (patch)
treecd75bcb506341bf3ddeb100a0a767a967f86386f /package/base-files/files/lib/functions.sh
parent4caaa778f709a38c08a11d98dd7fb03fe257f8fe (diff)
downloadupstream-5c2e409be7053b8ef994a2af7034b0210437ac31.tar.gz
upstream-5c2e409be7053b8ef994a2af7034b0210437ac31.tar.bz2
upstream-5c2e409be7053b8ef994a2af7034b0210437ac31.zip
base-files: convert leading spaces to tabs in functions.sh
Use tabs for indent consistently. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/base-files/files/lib/functions.sh')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index d2edef1a34..fe908f7aa4 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -327,7 +327,7 @@ group_add_next() {
gids=$(cut -d: -f3 ${IPKG_INSTROOT}/etc/group)
gid=65536
while echo "$gids" | grep -q "^$gid$"; do
- gid=$((gid + 1))
+ gid=$((gid + 1))
done
group_add $1 $gid
echo $gid
@@ -355,7 +355,7 @@ user_add() {
uids=$(cut -d: -f3 ${IPKG_INSTROOT}/etc/passwd)
uid=65536
while echo "$uids" | grep -q "^$uid$"; do
- uid=$((uid + 1))
+ uid=$((uid + 1))
done
}
[ -z "$gid" ] && gid=$uid