1 2 3 4 5 6 7
#!/bin/sh if [ "x${1}" = 'xremove' ]; then /etc/init.d/dropbear stop /etc/init.d/dropbear disable update-alternatives --remove ssh /usr/bin/dropbearmulti fi