]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Alpha2 - Aenderungen von Arne F. eingepflegt.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 21 May 2007 14:42:44 +0000 (14:42 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 21 May 2007 14:42:44 +0000 (14:42 +0000)
...sonst noch kleine Fixes.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@569 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

html/cgi-bin/pppsetup.cgi
langs/de/install/lang_de.c
langs/en/install/lang_en.c
make.sh
src/misc-progs/timectrl.c
src/pakfire/pakfire.conf
src/ppp/ip-down
src/ppp/ip-up

index e2dd4fc9eeda02228705bb8af8a82b55de367c3a..ed9c16da6acd642095b7381530d1c140813ad62c 100644 (file)
@@ -60,7 +60,7 @@ elsif ($pppsettings{'ACTION'} eq $Lang::tr{'refresh'})
 }
 elsif ($pppsettings{'ACTION'} eq $Lang::tr{'save'})
 {
-       if ($pppsettings{'TYPE'} =~ /^(modem|serial|isdn)$/ && $pppsettings{'COMPORT'} !~ /^(ttyS0|ttyS1|ttyS2|ttyS3|ttyS4|usb\/ttyACM0|usb\/ttyACM1|usb\/ttyACM2|usb\/ttyACM3|isdn1|isdn2)$/) {
+       if ($pppsettings{'TYPE'} =~ /^(modem|serial|isdn)$/ && $pppsettings{'COMPORT'} !~ /^(ttyS0|ttyS1|ttyS2|ttyS3|ttyS4|ttyACM0|ttyACM1|ttyACM2|ttyACM3|isdn1|isdn2)$/) {
                $errormessage = $Lang::tr{'invalid input'};
                goto ERROR; }
        if ($pppsettings{'TYPE'} =~ /^(modem|serial)$/ && $pppsettings{'DTERATE'} !~ /^(9600|19200|38400|57600|115200|230400|460800)$/) {
@@ -366,10 +366,10 @@ $selected{'COMPORT'}{'ttyS1'} = '';
 $selected{'COMPORT'}{'ttyS2'} = '';
 $selected{'COMPORT'}{'ttyS3'} = '';
 $selected{'COMPORT'}{'ttyS4'} = '';
-$selected{'COMPORT'}{'usb/ttyACM0'} = '';
-$selected{'COMPORT'}{'usb/ttyACM1'} = '';
-$selected{'COMPORT'}{'usb/ttyACM2'} = '';
-$selected{'COMPORT'}{'usb/ttyACM3'} = '';
+$selected{'COMPORT'}{'ttyACM0'} = '';
+$selected{'COMPORT'}{'ttyACM1'} = '';
+$selected{'COMPORT'}{'ttyACM2'} = '';
+$selected{'COMPORT'}{'ttyACM3'} = '';
 $selected{'COMPORT'}{'isdn1'} = '';
 $selected{'COMPORT'}{'isdn2'} = '';
 $selected{'COMPORT'}{$pppsettings{'COMPORT'}} = "selected='selected'";
index 6ad668dc052e80519a4595b48747ef27bb0eeeab..fefd9d622ed1ac059482b4a695f3299dbce4cf3a 100644 (file)
@@ -374,7 +374,7 @@ char *de_tr[] = {
 /* TR_SELECT_INSTALLATION_MEDIA */
 "Wählen Sie das Installationsmedium",
 /* TR_SELECT_INSTALLATION_MEDIA_LONG */
-"%s kann von verschiedenen Programmquellen installiert werden.  Am einfachsten ist, Sie benutzen das eingebaute CD-ROM-Laufwerk. Falls der Computer kein CD-ROM-Laufwerk besitzt, können Sie von einem anderen Rechner im LAN installieren, der die Installationsdateien per HTTP oder FTP zur Verfügung stellt. In diesem Fall benötigen Sie zusätzlich die Treiberdiskette.",
+"%s kann von verschiedenen Programmquellen installiert werden.  Am einfachsten ist, Sie benutzen das eingebaute CD-ROM-Laufwerk. Falls der Computer kein CD-ROM-Laufwerk besitzt, können Sie von einem anderen Rechner im LAN installieren, der die Installationsdateien per HTTP oder FTP zur Verfügung stellt.",
 /* TR_SELECT_NETWORK_DRIVER */
 "Wählen Sie den Netzwerktreiber aus",
 /* TR_SELECT_NETWORK_DRIVER_LONG */
index d9d9a8dd3d271de2800be997f37a1e5b427bdf3b..035aa0ce49328cba605a3a47d5d8a70571bfa5a3 100644 (file)
@@ -370,7 +370,7 @@ char *en_tr[] = {
 /* TR_SELECT_INSTALLATION_MEDIA */
 "Select installation media",
 /* TR_SELECT_INSTALLATION_MEDIA_LONG */
-"%s can be installed from multiple sources.  The simplest is to use the machines CDROM drive. If the computer lacks a drive, you may install via another machine on the LAN which has the installation files available via HTTP. In this case the network driver diskette will be required.",
+"%s can be installed from multiple sources.  The simplest is to use the machines CDROM drive. If the computer lacks a drive, you may install via another machine on the LAN which has the installation files available via HTTP or FTP.",
 /* TR_SELECT_NETWORK_DRIVER */
 "Select network driver",
 /* TR_SELECT_NETWORK_DRIVER_LONG */
diff --git a/make.sh b/make.sh
index 8a3adb55dcc10aa59acccb1834da61ee721643f6..dbf8a075e85ec2da92d0ed899ccf420275c37a43 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -24,7 +24,7 @@
 
 NAME="IPFire"                          # Software name
 SNAME="ipfire"                 # Short name
-VERSION="2.0b"                 # Version number
+VERSION="2.0a2"                        # Version number
 SLOGAN="www.ipfire.org"                # Software slogan
 CONFIG_ROOT=/var/ipfire                # Configuration rootdir
 NICE=10                                # Nice level
index 7c9fa5981fdc5a2e44721ad254fcf87b90b4689f..f09e641b30f0615b57e0b1c66da4fbe5a7c5efaf 100644 (file)
@@ -24,19 +24,19 @@ int main(int argc, char *argv[]) {
        }
 
        if (strcmp(argv[1], "start") == 0) {
-               safe_system("/etc/rc.d/init.d/ntpd start");
+               safe_system("/etc/rc.d/init.d/ntp start");
        } else if (strcmp(argv[1], "stop") == 0) {
-               safe_system("/etc/rc.d/init.d/ntpd stop");
+               safe_system("/etc/rc.d/init.d/ntp stop");
        } else if (strcmp(argv[1], "restart") == 0) {
-               safe_system("/etc/rc.d/init.d/ntpd restart");
+               safe_system("/etc/rc.d/init.d/ntp restart");
        } else if (strcmp(argv[1], "enable") == 0) {
-               safe_system("ln -fs ../init.d/ntpd /etc/rc.d/rc3.d/S26ntpd >/dev/null 2>&1");
-               safe_system("ln -fs ../init.d/ntpd /etc/rc.d/rc0.d/K46ntpd >/dev/null 2>&1");
-               safe_system("ln -fs ../init.d/ntpd /etc/rc.d/rc6.d/K46ntpd >/dev/null 2>&1");
-               safe_system("/etc/rc.d/init.d/ntpd start");
+               safe_system("ln -fs ../init.d/ntp /etc/rc.d/rc3.d/S26ntpd >/dev/null 2>&1");
+               safe_system("ln -fs ../init.d/ntp /etc/rc.d/rc0.d/K46ntpd >/dev/null 2>&1");
+               safe_system("ln -fs ../init.d/ntp /etc/rc.d/rc6.d/K46ntpd >/dev/null 2>&1");
+               safe_system("/etc/rc.d/init.d/ntp start");
        } else if (strcmp(argv[1], "disable") == 0) {
                safe_system("/etc/rc.d/init.d/ntpd stop");
-               safe_system("rm -f /etc/rc.d/rc*.d/*ntpd >/dev/null 2>&1");
+               safe_system("rm -f /etc/rc.d/rc*.d/*ntp >/dev/null 2>&1");
        } else {
                fprintf(stderr, "\nBad argument given.\n\ntimectrl (start|stop|restart)\n\n");
                exit(1);
index 973cbe92a75e1f214663e2f6f5fa3d70254ee960..5024a770ec1a34d3982e1f96f5e0905b1a0e9747 100644 (file)
@@ -2,7 +2,7 @@
 
 package Conf;
 
-$version = "2.0alpha1";
+$version = "2.0alpha2";
 
 $mainserver = "pakfire.ipfire.org";
 
index 0d5e26deef4c70caf3f37ca6380d57d23e75c2a1..474fa95dd89da289d6e833ca8f5f61138e920119 100644 (file)
@@ -17,7 +17,7 @@ require 'CONFIG_ROOT/general-functions.pl';
 umask 022;
 
 unlink "${General::swroot}/red/active";
-system "/etc/rc.d/init.d/network red update";
+system "/etc/rc.d/init.d/net/red/update";
 
 # Beep when ppp goes up or down. Silence if 'nobeeps' file exists.
 if ( ! -e "${General::swroot}/ppp/nobeeps") {
index 918dba65c227162f1233276aa1a1ce306925c444..4dc6c05a94506ef637757b14d9a3bf1b152828b6 100644 (file)
@@ -50,7 +50,7 @@ if (open(FILE, ">${General::swroot}/red/local-ipaddress"))  { print FILE $ARGV[3
 if (open(FILE, ">${General::swroot}/red/remote-ipaddress")) { print FILE $ARGV[4]; close (FILE); }
 
 system('/usr/bin/touch', "${General::swroot}/red/active");
-system('/etc/rc.d/init.d/network red update');
+system('/etc/rc.d/init.d/net/red/update');
 
 # Beep when ppp goes up or down. Silence if 'nobeeps' file exists.
 if ( ! -e "${General::swroot}/ppp/nobeeps") {