mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
Add aliases to backup and run setaliases at red start (if red=static only)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/var/ipfire/*/*.pem
|
||||
/var/ipfire/*/config
|
||||
/var/ipfire/*/enable
|
||||
/var/ipifre/*/*enable*
|
||||
/var/ipfire/*/*enable*
|
||||
/etc/passwd
|
||||
/etc/shadow
|
||||
/etc/group
|
||||
@@ -30,3 +30,4 @@
|
||||
/etc/sysconfig/rc.local
|
||||
/root/.gitconfig
|
||||
/root/.bash_history
|
||||
/var/ipfire/ethernet/aliases
|
||||
|
||||
@@ -8,3 +8,5 @@ srv/web/ipfire/images/info.gif
|
||||
srv/web/ipfire/images/openvpn.gif
|
||||
var/ipfire/menu.d/50-firewall.menu
|
||||
lib/firmware/av7110/bootcode.bin
|
||||
var/ipfire/backup/include
|
||||
etc/rc.d/init.d/networking/red
|
||||
|
||||
@@ -122,7 +122,10 @@ case "${1}" in
|
||||
evaluate_retval
|
||||
|
||||
run_subdir ${rc_base}/init.d/networking/red.up/
|
||||
|
||||
|
||||
# Configure aliases only if red static
|
||||
/usr/local/bin/setaliases
|
||||
|
||||
elif [ "${TYPE}" == "DHCP" ]; then
|
||||
|
||||
if [ -e $LEASEINFO ]; then
|
||||
|
||||
Reference in New Issue
Block a user