The vacuum lines to the transfer case operate nothing else. The 4 lines are:
Vacuum from engine (often red) Vent line (often blue, with an odd shaped cap) 2 lines to front axle (black)
There is a 5th line (on older models), it's the 3rd line at the disconnect and runs from the disconnect motor to the 4x4 light switch on the firewall (often yellow).
Trace the red line back to the intake manifold and remove the line, capping the port. All the other lines can be removed.