Created
July 20, 2018 12:43
-
-
Save syntaxerrormmm/8d9d9ec6b8d38ea37e93d56f308b494e to your computer and use it in GitHub Desktop.
urbackupclient - NethServer7 integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
urbcbdir=/etc/e-smith/db/configuration/defaults/urbackupclientbackend | |
mkdir -p ${urbcbdir} | |
echo "service" > ${urbcbdir}/type | |
echo "enabled" > ${urbcbdir}/status | |
db configuration set urbackupclientbackend service status enabled | |
signal-event runlevel-adjust | |
signal-event firewall-adjust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment