common.subr (e477abf734cc777a55286bfbd6b80a6760c96acf) | common.subr (56961fd7949de755f95a60fe8ac936f81e953f5b) |
---|---|
1if [ ! "$_NETWORKING_COMMON_SUBR" ]; then _NETWORKING_COMMON_SUBR=1 2# 3# Copyright (c) 2006-2012 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 48 unchanged lines hidden (view full) --- 57# 58# Returns true if there are any NFS mounts currently active, otherwise false. 59# 60f_nfs_mounted() 61{ 62 [ "$( df -t nfs )" ] 63} 64 | 1if [ ! "$_NETWORKING_COMMON_SUBR" ]; then _NETWORKING_COMMON_SUBR=1 2# 3# Copyright (c) 2006-2012 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 48 unchanged lines hidden (view full) --- 57# 58# Returns true if there are any NFS mounts currently active, otherwise false. 59# 60f_nfs_mounted() 61{ 62 [ "$( df -t nfs )" ] 63} 64 |
65############################################################ MAIN 66 67f_dprintf "%s: Successfully loaded." networking/common.subr 68 |
|
65fi # ! $_NETWORKING_COMMON_SUBR | 69fi # ! $_NETWORKING_COMMON_SUBR |