Subversion Repositories ALCASAR

Rev

Rev 1919 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1919 Rev 1938
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-urpmi.sh 1919 2016-06-01 14:55:18Z franck $
2
# $Id: alcasar-urpmi.sh 1938 2016-06-12 15:12:06Z richard $
3
 
3
 
4
# alcasar-urpmi.sh
4
# alcasar-urpmi.sh
5
# by 3abtux and Rexy
5
# by 3abtux and Rexy
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 224... Line 224...
224
done
224
done
225
 
225
 
226
# Save chilli launch script (erase with new rpm one)
226
# Save chilli launch script (erase with new rpm one)
227
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
227
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
228
# Install home made RPMs
228
# Install home made RPMs
229
urpmi --no-verify --auto conf/rpms/$ARCH/*.rpm
229
urpmi --no-verify --auto rpms/$ARCH/*.rpm
230
# restore chilli launch script
230
# restore chilli launch script
231
[ -e /tmp/chilli.conf ] && mv /tmp/chilli.conf /etc/
231
[ -e /tmp/chilli.conf ] && mv /tmp/chilli.conf /etc/
232
# Clean the RPM cache
232
# Clean the RPM cache
233
urpmi --clean
233
urpmi --clean
234
# the ipt-netflow RPM add the kernel module ipt_NETFLOW (the modules dependance tree need to be updated)
234
# the ipt-netflow RPM add the kernel module ipt_NETFLOW (the modules dependance tree need to be updated)