OpenVPN gefixt.

ctorrent hinzugefuegt.
UpdateBooster/SquidGuard gefixt.
Pakfire-Archiv geaendert.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@647 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-06-25 23:26:43 +00:00
parent 249dda6983
commit 7d3af7f772
9 changed files with 95 additions and 13 deletions

View File

@@ -296,7 +296,8 @@ void stopDaemon(void) {
executeCommand(command);
snprintf(command, STRING_SIZE - 1, "/bin/rm -f /var/run/openvpn.pid");
executeCommand(command);
executeCommand("modprobe -r tun");
snprintf(command, STRING_SIZE-1, "/sbin/modprobe -r tun");
executeCommand(command);
}
void startDaemon(void) {
@@ -306,7 +307,8 @@ void startDaemon(void) {
fprintf(stderr, "OpenVPN is not enabled on any interface\n");
exit(1);
} else {
executeCommand("modprobe tun");
snprintf(command, STRING_SIZE-1, "/sbin/modprobe tun");
executeCommand(command);
snprintf(command, STRING_SIZE-1, "/usr/sbin/openvpn --config /var/ipfire/ovpn/server.conf");
executeCommand(command);
}

View File

@@ -2,6 +2,6 @@
extract_files() {
echo "Extracting files..."
cd / && cpio -i < /opt/pakfire/tmp/files
tar xvf /opt/pakfire/tmp/files -C /
echo "...Finished."
}