From ef9be4c5c7ccf9e171ac3c742b1a50d0274a7a0f Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 7 Feb 2008 13:54:17 +0000 Subject: added needed __readlink function --- rc.d/init.d/functions | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit