mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
format
This commit is contained in:
parent
b1a76cc7f4
commit
ad528f0de2
@ -30,4 +30,5 @@ case "$1" in
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|reload|force-reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env ash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
function use() {
|
||||
echo "Use: ${0} junior|config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user