mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/rc.d/init.d/collectd
|
||||
opt/pakfire/lib/functions.sh
|
||||
srv/web/ipfire/cgi-bin/index.cgi
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -489,6 +489,14 @@ foreach my $file (@files) {
|
||||
}
|
||||
}
|
||||
|
||||
# Reiser4 warning
|
||||
my @files = `mount | grep " reiser4 (" 2>/dev/null`;
|
||||
foreach my $disk (@files) {
|
||||
chomp ($disk);
|
||||
$warnmessage .= "<li>$disk - $Lang::tr{'deprecated fs warn'}</li>\n\n";
|
||||
}
|
||||
|
||||
|
||||
if ($warnmessage) {
|
||||
print "<tr><td align='center' bgcolor=$Header::colourred colspan='3'><font color='white'>$warnmessage</font></table>";
|
||||
}
|
||||
|
||||
@@ -581,6 +581,7 @@
|
||||
'delete share' => 'Freigabe löschen',
|
||||
'delete user' => 'Benutzer löschen',
|
||||
'demon login script' => 'Demon-Anmeldeskript',
|
||||
'deprecated fs warn' => 'Veraltetes Dateisystem! Keine Unterstützung in neueren Kernelversionen. Sichern und Umformatieren!',
|
||||
'description' => 'Beschreibung',
|
||||
'dest ip and port' => 'Ziel-IP:Port',
|
||||
'destination' => 'Ziel',
|
||||
|
||||
@@ -602,6 +602,7 @@
|
||||
'delete share' => 'Delete share',
|
||||
'delete user' => 'Delete user',
|
||||
'demon login script' => 'Demon login script',
|
||||
'deprecated fs warn' => 'Deprecated filesystem! Newer kernel drop the support. Backup and reformat!',
|
||||
'description' => 'Description',
|
||||
'dest ip and port' => 'Dest. IP: Port',
|
||||
'destination' => 'Destination',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -28,6 +28,13 @@ extract_files() {
|
||||
echo "...Finished."
|
||||
}
|
||||
|
||||
extract_backup_includes() {
|
||||
echo "Extracting backup includes..."
|
||||
tar xvf /opt/pakfire/tmp/files --no-overwrite-dir -p --numeric-owner -C / \
|
||||
var/ipfire/backup/addons/includes
|
||||
echo "...Finished."
|
||||
}
|
||||
|
||||
remove_files() {
|
||||
echo "Removing files..."
|
||||
for i in $(cat /opt/pakfire/db/rootfiles/${NAME}); do
|
||||
|
||||
Reference in New Issue
Block a user