mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 23:43:00 +02:00
Weitere Improvements am MPFire.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@877 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
* Linux-PAM-0.99.4.0
|
||||
* Locale-Codes-2.07
|
||||
* MIME-tools-5.420
|
||||
* MP3-Info-1.22
|
||||
* MP3-Tag-0.9709
|
||||
* Mail-SpamAssassin-3.1.3
|
||||
* MailTools-1.74
|
||||
* MoBlock-0.8
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 849 B |
2
lfs/mpd
2
lfs/mpd
@@ -81,4 +81,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
touch /var/log/mpd.error.log
|
||||
touch /var/log/mpd.log
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -60,8 +60,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
-mkdir -p /var/ipfire/mpfire/{bin,db}
|
||||
touch /var/ipfire/mpfire/{settings,playlist.m3u}
|
||||
touch /var/ipfire/mpfire/db/mpd.db
|
||||
touch /var/log/mpd_error.log
|
||||
touch /var/log/mpd.log
|
||||
install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
|
||||
|
||||
@@ -112,7 +112,7 @@ int main(void)
|
||||
else
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@.\\+\\)$/#\\1/' /etc/syslog.conf >&%d", config_fd );
|
||||
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed 's/*.\\/var\\/log\\/messages/%s \\/var\\/log\\/messages/' /etc/syslog.conf >&%d", varmessages, config_fd );
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed 's/.*\\/var\\/log\\/messages.*/%s \\/var\\/log\\/messages/' /etc/syslog.conf >&%d", varmessages, config_fd );
|
||||
|
||||
/* if the return code isn't 0 failsafe */
|
||||
if ((rc = unpriv_system(buffer,99,99)) != 0)
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
extract_files
|
||||
|
||||
touch /etc/asound.state
|
||||
ln -svf /etc/init.d/alsa /etc/rc.d/rc3.d/S65alsa
|
||||
ln -svf /etc/init.d/alsa /etc/rc.d/rc0.d/K35alsa
|
||||
ln -svf /etc/init.d/alsa /etc/rc.d/rc6.d/K35alsa
|
||||
ln -svf ../init.d/alsa /etc/rc.d/rc3.d/S65alsa
|
||||
ln -svf ../init.d/alsa /etc/rc.d/rc0.d/K35alsa
|
||||
ln -svf ../init.d/alsa /etc/rc.d/rc6.d/K35alsa
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
extract_files
|
||||
chown nobody.nobody -Rv /var/ipfire/mpfire
|
||||
ln -svf /etc/init.d/mpd /etc/rc.d/rc3.d/S65mpd
|
||||
ln -svf /etc/init.d/mpd /etc/rc.d/rc0.d/K35mpd
|
||||
ln -svf /etc/init.d/mpd /etc/rc.d/rc6.d/K35mpd
|
||||
ln -svf ../init.d/mpd /etc/rc.d/rc3.d/S65mpd
|
||||
ln -svf ../init.d/mpd /etc/rc.d/rc0.d/K35mpd
|
||||
ln -svf ../init.d/mpd /etc/rc.d/rc6.d/K35mpd
|
||||
touch /var/log/mpd.error.log
|
||||
touch /var/log/mpd.log
|
||||
|
||||
Reference in New Issue
Block a user