edits from original huawei.rc and edits from fredvj