This commit is contained in:
Ing 2023-06-23 16:29:10 +08:00
parent b1a76cc7f4
commit ad528f0de2
6 changed files with 48 additions and 48 deletions

View File

@ -30,4 +30,5 @@ case "$1" in
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload}"
exit 1
;;
esac

View File

@ -22,12 +22,11 @@ export DSMROOT_PATH="/mnt/dsmroot"
export PATH="${PATH}:/opt/arpl"
if [ -f ${BOOTLOADER_PATH}/.locale ]; then
export LANG="`cat ${BOOTLOADER_PATH}/.locale`"
export LANG="$(cat ${BOOTLOADER_PATH}/.locale)"
fi
if [ -d /opt/arpl/lang ]; then
for F in `ls /opt/arpl/lang/*.mo`
do
for F in $(ls /opt/arpl/lang/*.mo); do
install "${F}" "/usr/share/locale/$(basename $F .mo)/LC_MESSAGES/arpl.mo"
done
fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ash
#!/usr/bin/env bash
function use() {
echo "Use: ${0} junior|config"