1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh case "${1}" in start) [ ! -d /dev/pts ] && mkdir /dev/pts mount -a ;; *) printf 'Usage: %s start\n' "${0}" exit 1 ;; esac