|
|
@ -29,11 +29,11 @@ lxc-attach -n "$config"
|
|
|
|
usage() {
|
|
|
|
usage() {
|
|
|
|
echo "usage: $0 sub-command"
|
|
|
|
echo "usage: $0 sub-command"
|
|
|
|
echo "where sub-command is one of:"
|
|
|
|
echo "where sub-command is one of:"
|
|
|
|
echo " install Install lxdterm"
|
|
|
|
echo " install Install lxc-attach"
|
|
|
|
echo " upgrade Upgrade lxdterm"
|
|
|
|
echo " upgrade Upgrade lxc-attach"
|
|
|
|
echo " rm/start/stop/restart Remove/Start/Stop/Restart lxdterm"
|
|
|
|
echo " rm/start/stop/restart Remove/Start/Stop/Restart lxc-attach"
|
|
|
|
echo " status lxdterm status"
|
|
|
|
echo " status lxc-attach status"
|
|
|
|
echo " port lxdterm port"
|
|
|
|
echo " port lxc-attach port"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
case ${ACTION} in
|
|
|
|
case ${ACTION} in
|
|
|
|