Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Levantar punto de montaje.
- systemctl start var-samba.mount
- # evaluamos con una sentencia 'if' si el servicio 'var-samba.mount' se ha ejecutado.
- if systemctl is-active var-samba.mount; then
- # si 'is-active' devuelve exit status 0
- systemctl start nmbd.service
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement