Add aliases to backup and run setaliases at red start (if red=static only)
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 6 Jul 2009 17:29:58 +0000 (19:29 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 6 Jul 2009 17:29:58 +0000 (19:29 +0200)
config/backup/include
config/rootfiles/core/29/filelists/files
src/initscripts/init.d/networking/red

index 0ce2dc6..87abb07 100644 (file)
@@ -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
index 536160d..9b62cc7 100644 (file)
@@ -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
index 6a85eb4..f90e073 100644 (file)
@@ -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