Skip to content

Instantly share code, notes, and snippets.

@syntaxerrormmm
Created July 20, 2018 12:43
Show Gist options
  • Save syntaxerrormmm/8d9d9ec6b8d38ea37e93d56f308b494e to your computer and use it in GitHub Desktop.
Save syntaxerrormmm/8d9d9ec6b8d38ea37e93d56f308b494e to your computer and use it in GitHub Desktop.
urbackupclient - NethServer7 integration
#!/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