#!/bin/bash
# 判断/opt下是否有更新的程序源码，存在时执行，不存在时执行/usr下的
if [ -x /opt/update-module/current/usr/bin/UpgradeRebootNotify ]; then
    /opt/update-module/current/usr/bin/UpgradeRebootNotify
else
    /usr/bin/UpgradeRebootNotify
fi
