aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-12-20 13:54:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-12-20 13:54:15 -0200
commite1a59ff6b95dad487904f025224c56805645504f (patch)
tree77438769f69d10b32c9908d2cceeb919fcf08181 /share
parenteba6e478c205a75bca8c02d06fb2ad64edc4ea71 (diff)
downloadhydra-e1a59ff6b95dad487904f025224c56805645504f.tar.gz
hydra-e1a59ff6b95dad487904f025224c56805645504f.tar.bz2
Ensures /etc/wicd exists at sync-tpc
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/sync-tpc1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index 6186e98..8fa5414 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -39,6 +39,7 @@ $SUDO rsync -av --delete /var/cache/pbuilder/ $DEST/var/cache/pbuilder/
$SUDO rsync -av --delete /var/lib/wicd/ $DEST/var/lib/wicd/
# Sync config
+$SUDO mkdir -p /etc/wicd
$SUDO cp -a /etc/network/interfaces $DEST/etc/network/interfaces
$SUDO cp -a /etc/wicd/manager-settings.conf $DEST/etc/wicd/manager-settings.conf
$SUDO cp -a /etc/udev/rules.d/70-persistent-net.rules $DEST/etc/udev/rules.d/70-persistent-net.rules