#!/bin/bash

if [ $# -eq 0 ]; then
    /usr/bin/kylin-cmd -r
elif [ $# -eq 1 ]; then
    /usr/bin/kylin-cmd -r "$1"
else
    /usr/bin/kylin-cmd
fi