You are on the right track. Passing gas is a good indicator of clearing the ileus. As long as you limit your intake for now, you should be fine.
Dr. Corenman