diff options
| author | Harald Hoyer <harald@redhat.com> | 2008-02-07 13:54:17 +0000 |
|---|---|---|
| committer | Harald Hoyer <harald@redhat.com> | 2008-02-07 13:54:17 +0000 |
| commit | ef9be4c5c7ccf9e171ac3c742b1a50d0274a7a0f (patch) | |
| tree | 9152ba02efc6d30f2ac64ed61a266327061541b8 | |
| parent | 91a777e0d3e50fa0717853a9f67dfee5c35b7344 (diff) | |
added needed __readlink function
| -rwxr-xr-x | rc.d/init.d/functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 580216d1..a13e7a0d 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -69,6 +69,10 @@ checkpid() { return 1 } +__readlink() { + ls -bl "$@" 2>/dev/null| awk '{ print $NF }' +} + # __umount_loop awk_program fstab_file first_msg retry_msg umount_args # awk_program should process fstab_file and return a list of fstab-encoded # paths; it doesn't have to handle comments in fstab_file. |
