Commit Graph

141 Commits

Author SHA1 Message Date
Stefan Saraev
8dd463fdc7 syslog: no no and no. we don't need this 2013-05-01 17:31:29 +03:00
Dag Wieers
efd8fdada9 Fix slow syslogd remote syslog startup and klogd interaction
Because syslogd is not properly started its remote syslog support when klogd dumps its kernel ring buffer content to it, most of the kernel boot output is missing on the remote syslog server. By adding a small delay between syslogd and klogd, we are sure the messages are properly send to the remote syslog by syslogd.
2013-04-23 00:59:23 +02:00
Stephan Raue
e24ab89ec2 busybox: increase min_free_kbytes size
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-22 16:25:22 +02:00
Stephan Raue
ee04cfe3f4 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings
Conflicts:
	packages/sysutils/busybox/init.d/06_systemconfig
2013-03-23 04:27:02 +01:00
Stephan Raue
902ae4a600 busybox: dont start various init scripts in installer mode
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 20:04:47 +01:00
Stefan Saraev
f0516fbe45 Merge remote-tracking branch 'upstream/master' into openelec-settings 2013-03-10 20:53:39 +02:00
Dag Wieers
5ce4c9b9be Move syslogd after network so we can log kernel messages to remote server
Since syslogd was started before the network was up, all syslog messages before the network was up were discarded and not send to the remoe syslog server. By moving the syslogd startup until after the network, the kernel boot messages are available on the central syslog.
2013-03-09 17:27:15 +01:00
Stefan Saraev
cc5511700a syslog: new settings addon integration 2013-02-10 00:01:32 +02:00
Stefan Saraev
2b8df7d496 Merge remote-tracking branch 'upstream/master' into openelec-settings
Conflicts:
	packages/mediacenter/xbmc-addon-settings/config/default_settings.xml
	packages/mediacenter/xbmc-addon-settings/source/resources/language/English/strings.xml
	packages/mediacenter/xbmc-addon-settings/source/resources/settings.xml
2013-02-09 23:57:52 +02:00
Dag Wieers
314b3a76bb Fix typo in script name 2013-02-09 01:20:16 +01:00
Dag Wieers
ab35dbe2ae Remote syslog support from OpenELEC settings
This patch adds remote syslog support. The syslog startup script will add the necessary options, and leaves room for a custom syslog.conf from /storage/.config (as it was before).
2013-02-09 00:25:57 +01:00
Stephan Raue
f874507824 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings 2013-02-07 02:19:26 +01:00
Stephan Raue
8647083a85 Merge pull request #1856 from dagwieers/syslog-config
Allow syslog.conf to be locally customized from /storage/.config/syslog.conf
2013-02-06 13:42:19 -08:00
Dag Wieers
8672ac5b63 Allow syslog.conf to be locally customized from /storage/.config/syslog.conf
Since I would like to remotely log whatever goes on on my AppleTV devices, I need a way to modify the syslog.conf that is used, or need to provide options to syslogd. This was the easiest pick of the two :)
2013-02-06 22:36:53 +01:00
Stephan Raue
f312a77546 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings 2013-02-04 19:59:58 +01:00
Stefan Saraev
3f9a6d3353 busybox: mount debugfs 2013-02-04 20:30:19 +02:00
Stephan Raue
8e76ae5f89 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings 2013-01-16 04:03:27 +01:00
Stefan Saraev
11c294f4e1 busybox: init: support for custom sysctl.conf file in /storage/.config/ 2013-01-14 22:38:37 +02:00
Stephan Raue
442a3592ff busybox: remove not more needed initscript to rewrite our config settings
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-11 00:50:49 +01:00
Stephan Raue
ee4ec2c762 Revert "busybox: fix last commit, thanks to vpeter"
This reverts commit 40824b50e0.
2012-11-23 19:55:07 +01:00
Stephan Raue
40824b50e0 busybox: fix last commit, thanks to vpeter
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-11-23 19:40:28 +01:00
Stephan Raue
0d86429a54 busybox: add support to parse '`' too, thanks to vpeter
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-11-23 19:32:43 +01:00
ribbon10
d6c7d08d39 Corrections for create of /var/config/settings.conf
- Busybox awk does not interpret the -F option as regular expression.
With this patch the field seperators are '" and not \"|'
- Added gsub for $ so that it becomes \$. THis is because the generated
config file assignes string with "" to variables. Insite "" the $ sign
is used to reference variables.

This problem was discovered with a wlan passphrase that included a \
and & sign. Here is a example string that can be used to reproduce both
problems:
<setting id="TEST_KEY" value="$-you_can_see_me\you_can_not_see_me" />

Here is what we get before merge:
echo '<setting id="TEST_KEY"
value="$-you_can_see_me\you_can_not_see_me" />' | awk -F'[\"|'\'']'
'{gsub(/\&quot\;/, "\\\"", $4); gsub(/\&apos\;/, "\047", $4);
gsub(/\&amp\;/, "\\&", $4); gsub(/\&lt\;/, "<", $4); gsub(/\&gt\;/,
">", $4); print $2"=\""$4"\"";}'
TEST_KEY="$-you_can_see_me"

Here is what we get after merge:
echo '<setting id="TEST_KEY"
value="$-you_can_see_me\you_can_not_see_me" />' | awk -F'["'\'']'
'{gsub(/\&quot\;/, "\\\"", $4); gsub(/\&apos\;/, "\047", $4);
gsub(/\&amp\;/, "\\&", $4); gsub(/\&lt\;/, "<", $4); gsub(/\&gt\;/,
">", $4); gsub(/\$/, "\\\$", $4); print $2"=\""$4"\"";}'
TEST_KEY="\$-you_can_see_me\you_can_not_see_me"
2012-11-04 20:49:36 +01:00
Stephan Raue
3edbb46861 Revert "remove package 'bash'"
This reverts commit 21ef847c81.

Conflicts:
	packages/sysutils/busybox/config/busybox.conf
2012-10-07 05:32:05 +02:00
Pete Schwamb
87846eca5f Fix usage of ampersands in wifi passphrases. They were being passed to connman as &amp; 2012-06-16 16:56:24 -05:00