mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 01:12:57 +02:00
Fixed some minor things in networking/red script.
Force vsftpd not to use pam. Enable amavisd-new on postfix. Enable samba on installation. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1055 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -22,7 +22,7 @@ export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||
RELOADSIG="HUP"
|
||||
|
||||
# Number of seconds between STOPSIG and FALLBACK when stopping processes
|
||||
KILLDELAY="5"
|
||||
KILLDELAY="10"
|
||||
|
||||
## Screen Dimensions
|
||||
# Find current screen size
|
||||
|
||||
@@ -192,6 +192,7 @@ case "${1}" in
|
||||
if [ "$PPP_NIC" == "" ]; then
|
||||
boot_mesg "No device for red interface given. Check netsetup or dialprofile!" ${FAILURE}
|
||||
echo_failure
|
||||
exit 0
|
||||
fi
|
||||
boot_mesg "Bringing up the PPPoE interface on $PPP_NIC ..."
|
||||
ip addr add 1.1.1.1/24 broadcast 1.1.1.255 dev $PPP_NIC
|
||||
@@ -381,8 +382,8 @@ case "${1}" in
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
killall -w -s TERM /usr/sbin/pppd >/dev/null 2>&1
|
||||
killall -w -s TERM br2684ctl >/dev/null 2>&1
|
||||
killall -w -s KILL /usr/sbin/pppd >/dev/null 2>&1
|
||||
killall -w -s KILL br2684ctl >/dev/null 2>&1
|
||||
rm -f /var/ipfire/red/{active,device,dial-on-demand,dns1,dns2,local-ipaddress,remote-ipaddress,resolv.conf}
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user