Lines 93-98
fi
Link Here
|
93 |
# 5. adjust name and configure iface |
93 |
# 5. adjust name and configure iface |
94 |
IFTAB_FILE=`profiled_filename $IFTAB` |
94 |
IFTAB_FILE=`profiled_filename $IFTAB` |
95 |
if [ -s "$IFTAB_FILE" ]; then |
95 |
if [ -s "$IFTAB_FILE" ]; then |
|
|
96 |
# First let's check: perhaps the name belongs to a wrong device now! |
97 |
# Then remove the name from that device: |
98 |
if $IFRENAME -c "$IFTAB_FILE" -i "$NAME"; then |
99 |
print_progress '%' # A special sign for the admissable event of expropriating the name from an old device. |
100 |
else |
101 |
print_progress |
102 |
fi |
103 |
# Now, let's find the right device for this name: |
96 |
if $IFRENAME -c "$IFTAB_FILE" -n "$NAME"; then |
104 |
if $IFRENAME -c "$IFTAB_FILE" -n "$NAME"; then |
97 |
print_progress |
105 |
print_progress |
98 |
else |
106 |
else |