mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Geändert:
* Bearbeitetes Startscript für AJ * Changelog aktualisiert. * Nur noch Deutsch/Englisch für das Webinterface. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@165 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
689
doc/ChangeLog
689
doc/ChangeLog
File diff suppressed because it is too large
Load Diff
@@ -112,9 +112,8 @@ $(TARGET) :
|
||||
$(CONFIG_ROOT)/lang.pl
|
||||
|
||||
# Language files
|
||||
for i in $(DIR_SRC)/langs/*/cgi-bin/*.pl ; do \
|
||||
cp $$i $(CONFIG_ROOT)/langs/; \
|
||||
done
|
||||
cp $(DIR_SRC)/langs/de/cgi-bin/de.pl $(CONFIG_ROOT)/langs/
|
||||
cp $(DIR_SRC)/langs/en/cgi-bin/en.pl $(CONFIG_ROOT)/langs/
|
||||
|
||||
# Configroot permissions
|
||||
chown -R nobody:nobody $(CONFIG_ROOT)
|
||||
|
||||
@@ -6,7 +6,6 @@ JAVA=/usr/bin/java
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
chown -R applejuice.applejuice $HOME
|
||||
cd $HOME
|
||||
screen -dmS ajcore $JAVA -Xmx${RAMSIZE}m -Djava.library.path=. -jar ajcore.jar
|
||||
echo -e "Applejuice is running!"; logger -t ipfire "Applejuice started!"
|
||||
@@ -24,6 +23,10 @@ case "$1" in
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo -e "Usage: $0 (start|stop|status)"
|
||||
echo -e "Usage: $0 (start|stop|restart|status)"
|
||||
esac
|
||||
Reference in New Issue
Block a user