Browse Source
Update _misc
change from hostname to environment
pull/50/head
Gorgone
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
support/functions/_misc
|
|
@ -79,7 +79,7 @@ _generate_oscam_name(){ |
|
|
|
[ "$(./config.sh --enabled WITH_EMU)" == Y ] && echo -emu$(./config.sh --emu-version) || printf ''; );_ipv6=$( |
|
|
|
[ "$(./config.sh --enabled IPV6SUPPORT)" == Y ] && echo -ipv6 || printf ''; ) |
|
|
|
[ "${USE_vars[USE_COMPRESS]}" == "USE_COMPRESS=1" ] && _upx="-upx" || _upx='' |
|
|
|
[ "$1" == "native" ] && _b_name="$(hostname)" || _b_name="$1" |
|
|
|
[ "$1" == "native" ] && _b_name="$(uname -s)-$(uname -m)" || _b_name="$1" |
|
|
|
if [ "${s3cfg_vars[ADD_PROFILE_NAME]}" == "0" ] || [ $pf_name == "not_set" ] |
|
|
|
then |
|
|
|
oscam_name="oscam-svn$(REVISION)-$_b_name$_webif$_dvbapi$_ssl$_usb$_pcsc$_stapi$_stapi5$_emu$_ipv6$_upx" |
|
|
|