#!/bin/sh # ------- # netconfig-client ncfg script to install downloaded files # (c) 2008 Luis Garcia # -------- set -e # PATH y variables PATH="/sbin:/bin:/usr/sbin:/usr/bin" # Funciones # main # to install/update (system) files, we like cpkg power ... case $1 in pre-load) /usr/share/lliurex/llxcfg-backend/llxcfg-cpkg-backend revert netcfg-install || true ;; post-load) /usr/share/lliurex/llxcfg-backend/llxcfg-cpkg-backend update netcfg-install || true ;; fail) # nothing to do ;; esac exit 0