diff options
Diffstat (limited to 'meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch')
-rw-r--r-- | meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch b/meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch index 5563227d55..4212917f6e 100644 --- a/meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch +++ b/meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch | |||
@@ -11,11 +11,11 @@ | |||
11 | init/init-lib.pl | 5 +++-- | 11 | init/init-lib.pl | 5 +++-- |
12 | 2 files changed, 17 insertions(+), 15 deletions(-) | 12 | 2 files changed, 17 insertions(+), 15 deletions(-) |
13 | 13 | ||
14 | diff --git a/init/index.cgi b/init/index.cgi | 14 | Index: webmin-1.850/init/index.cgi |
15 | index d48b793..30dafd4 100755 | 15 | =================================================================== |
16 | --- a/init/index.cgi | 16 | --- webmin-1.850.orig/init/index.cgi |
17 | +++ b/init/index.cgi | 17 | +++ webmin-1.850/init/index.cgi |
18 | @@ -45,19 +45,20 @@ elsif ($init_mode eq "init" && $access{'bootup'}) { | 18 | @@ -45,19 +45,20 @@ elsif ($init_mode eq "init" && $access{' |
19 | : "$config{'init_dir'}/$ac[0]"); | 19 | : "$config{'init_dir'}/$ac[0]"); |
20 | } | 20 | } |
21 | @runlevels = &list_runlevels(); | 21 | @runlevels = &list_runlevels(); |
@@ -49,11 +49,11 @@ index d48b793..30dafd4 100755 | |||
49 | 49 | ||
50 | # For each action, look at /etc/rc*.d/* files to see if it is | 50 | # For each action, look at /etc/rc*.d/* files to see if it is |
51 | # started at boot | 51 | # started at boot |
52 | diff --git a/init/init-lib.pl b/init/init-lib.pl | 52 | Index: webmin-1.850/init/init-lib.pl |
53 | index ead21ed..b41794b 100755 | 53 | =================================================================== |
54 | --- a/init/init-lib.pl | 54 | --- webmin-1.850.orig/init/init-lib.pl |
55 | +++ b/init/init-lib.pl | 55 | +++ webmin-1.850/init/init-lib.pl |
56 | @@ -119,8 +119,9 @@ List boot time action names from init.d, such as httpd and cron. | 56 | @@ -124,8 +124,9 @@ List boot time action names from init.d, |
57 | =cut | 57 | =cut |
58 | sub list_actions | 58 | sub list_actions |
59 | { | 59 | { |
@@ -64,7 +64,7 @@ index ead21ed..b41794b 100755 | |||
64 | opendir(DIR, $dir); | 64 | opendir(DIR, $dir); |
65 | foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) { | 65 | foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) { |
66 | if ($f eq "." || $f eq ".." || $f =~ /\.bak$/ || $f eq "functions" || | 66 | if ($f eq "." || $f eq ".." || $f =~ /\.bak$/ || $f eq "functions" || |
67 | @@ -128,7 +129,7 @@ foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) { | 67 | @@ -133,7 +134,7 @@ foreach $f (sort { lc($a) cmp lc($b) } r |
68 | -d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" || | 68 | -d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" || |
69 | $f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ || | 69 | $f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ || |
70 | $f =~ /^\.depend\./ || $f eq '.legacy-bootordering' || | 70 | $f =~ /^\.depend\./ || $f eq '.legacy-bootordering' || |
@@ -73,6 +73,3 @@ index ead21ed..b41794b 100755 | |||
73 | if (@stbuf = stat("$dir/$f")) { | 73 | if (@stbuf = stat("$dir/$f")) { |
74 | push(@rv, "$f $stbuf[1]"); | 74 | push(@rv, "$f $stbuf[1]"); |
75 | } | 75 | } |
76 | -- | ||
77 | 2.0.0 | ||
78 | |||