Skip to content

Commit 5c19322

Browse files
committed
Moved export -f getent() to functions.sh
1 parent 86bb44d commit 5c19322

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

_shrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ export LROOT MHOST MPATH OSMIR OSREL OSTYP SQCMD SQDNS TAREA TCITY
5858
export UPASS UPATH UUSER U_GID U_SHL U_UID VHOST VPATH VUSER V_PHP
5959
export WPASS WPATH WPUSR WUGID
6060
export -f chktime f getdb gethost getuser getusers go2 grepuser
61-
export -f newuid sethost setuser sc sx get_fqdn getent hostname
61+
export -f newuid sethost setuser sc sx get_fqdn hostname
6262

6363
[[ $DEBUG ]] && set +x

lib/functions.sh

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if [[ $OSTYP == openwrt ]]; then
1212
elif [[ $1 == group ]]; then
1313
cat /etc/group
1414
fi
15+
export -f getent
1516
}
1617
elif [[ $OSTYP == alpine ]]; then
1718
sc() {

0 commit comments

Comments
 (0)