|
;15 sudo mount $1 /misc -oloopkonqueror /misc &child=`ps -ef &line;grep ’konqueror /misc’ &line;grep -v grep &line;awk ’{ print $2 }’`echo “mount pid is $child“while [ “1“ -lt “2“ ]do is_exist=`ps -ef &line;grep $child &line;grep -v grep` if [ -z “$is_exist“ ] then sudo umount /misc exit 0 fi s 页码:[1] [2] [3] [4] [5] [6] 第4页、共6页 |