135 |
mage uninstall ${i} |
mage uninstall ${i} |
136 |
done |
done |
137 |
|
|
|
if [[ -f /.orphaned ]] |
|
|
then |
|
|
echo "Searching for orphaned files and directories ..." |
|
|
bash /etc/mage-profile/prune-orphaned-files |
|
|
rm -f /.orphaned |
|
|
fi |
|
|
|
|
138 |
if [[ -f /.dist-upgrade ]] |
if [[ -f /.dist-upgrade ]] |
139 |
then |
then |
140 |
# array of wireless opts |
# array of wireless opts |
165 |
done |
done |
166 |
rm -f ${i}.orig |
rm -f ${i}.orig |
167 |
done |
done |
168 |
|
# search modules files |
169 |
|
for i in $(find /etc/modules.d -name net.\*) |
170 |
|
do |
171 |
|
install -d /etc/modprobe.d |
172 |
|
mv ${i} /etc/modprobe.d/${i%.conf}.conf |
173 |
|
done |
174 |
|
fi |
175 |
|
|
176 |
|
if [[ -f /.orphaned ]] |
177 |
|
then |
178 |
|
echo "Searching for orphaned files and directories ..." |
179 |
|
bash /etc/mage-profile/prune-orphaned-files |
180 |
|
rm -f /.orphaned |
181 |
fi |
fi |
182 |
|
|
183 |
if [[ -f /.dist-upgrade ]] |
if [[ -f /.dist-upgrade ]] |