#!/bin/bash if [[ $1 == install || $1 == upgrade ]]; then bin=/usr/sbin/rtadvd if [[ -e "${bin}".sbin ]]; then mv -f "${bin}"{.sbin,} || exit 1 fi fi