blob: f4158c1ccfaa86a3b37d5eb5ea41e12da9696091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
prefix=@prefix@
exec_prefix=@exec_prefix@
sysconfdir=@sysconfdir@
bindir=@bindir@
sbindir=@sbindir@
# add symlinks for sudo
ln -sf /opt/vyatta/sbin/vyatta-ipset.pl ${bindir}/sudo-users/vyatta-ipset.pl
# comply with Squeeze version of modprobe
# remove old versions of files during upgrade
for modprobe in vyatta_nf_conntrack vyatta_xt_recent vyatta_sip_options
do
if [ -f /etc/modprobe.d/${modprobe} ]; then
mv -f -n /etc/modprobe.d/${modprobe} /etc/modprobe.d/${modprobe}.conf
fi
done
|