mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Der logwatch.
Gnump-Fix. mpd-restart-Script. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@885 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -294,7 +294,7 @@ usr/lib/perl5/5.8.8/Net/servent.pm
|
||||
usr/lib/perl5/5.8.8/PerlIO.pm
|
||||
#usr/lib/perl5/5.8.8/PerlIO/via
|
||||
usr/lib/perl5/5.8.8/PerlIO/via/QuotedPrint.pm
|
||||
#usr/lib/perl5/5.8.8/Pod
|
||||
usr/lib/perl5/5.8.8/Pod
|
||||
#usr/lib/perl5/5.8.8/Pod/Checker.pm
|
||||
#usr/lib/perl5/5.8.8/Pod/Find.pm
|
||||
#usr/lib/perl5/5.8.8/Pod/Functions.pm
|
||||
|
||||
@@ -95,7 +95,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
-mkdir -p /var/cache/logwatch
|
||||
-mkdir -p /var/log/logwatch
|
||||
chmod 755 /var/cache/logwatch
|
||||
chmod -v 755 /var/cache/logwatch
|
||||
-rm -rf /etc/logwatch/conf
|
||||
ln -vsf /usr/share/logwatch/default.config /etc/logwatch/config
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -23,9 +23,13 @@ case "$1" in
|
||||
status)
|
||||
statusproc /usr/bin/mpd
|
||||
;;
|
||||
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 3
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 (start|stop|status)"
|
||||
echo "Usage: $0 (start|stop|restart|status)"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user