]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/setreservedports
Die hddtemp.db ins SVN gepackt und aktualisiert.
[ipfire-2.x.git] / src / scripts / setreservedports
index 1a219ac29cc2aa64aae85e40f0906eeaecc6f43d..1b53079ca6faf5ec96a58fd2321ecc54a2f8b5ce 100644 (file)
@@ -10,7 +10,7 @@ SSH=222
 if [ $# -lt 1 ]; then
        echo "Give an https port number, recommended value is non-assigned port 5445"
 else
-       if [ "$1" -lt "445" -o "$1" -gt "65535" ]; then
+       if [ "$1" -lt "444" -o "$1" -gt "65535" ]; then
                echo "support only a port value from 445 to 65535"
                echo "recommended value is non-assigned port 5445"
        else
@@ -25,15 +25,15 @@ else
                /etc/httpd/conf/httpd.conf
                
                /bin/sed -i -e "s+:[0-9]\{3,5\}/\$ENV{'PATH_INFO'}+:$HTTPS/\$ENV{'PATH_INFO'}+" \
-               /var/ipcop/header.pl
+               /var/ipfire/header.pl
                
-               /bin/sed -i -e "s+acl IPCop_https port.*$+acl IPCop_https port $HTTPS+" \
-               /var/ipcop/proxy/acl
-               /bin/chown nobody:nobody /var/ipcop/proxy/acl
+               /bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
+               /var/ipfire/proxy/acl
+               /bin/chown nobody:nobody /var/ipfire/proxy/acl
                
-               /bin/sed -i -e "s+acl IPCop_https port.*$+acl IPCop_https port $HTTPS+" \
-               /var/ipcop/proxy/squid.conf
-               /bin/chown nobody:nobody /var/ipcop/proxy/squid.conf
+               /bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
+               /var/ipfire/proxy/squid.conf
+               /bin/chown nobody:nobody /var/ipfire/proxy/squid.conf
                
                # restart everything impacted
                /bin/killall httpd