/[sysadmin-cookbook]/recepies/lxc/lxc-watchdog.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/lxc/lxc-watchdog.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 236 by dpavlin, Wed Jan 26 12:16:23 2011 UTC revision 237 by dpavlin, Wed Jan 26 18:56:17 2011 UTC
# Line 71  cleanup_init_scripts() { Line 71  cleanup_init_scripts() {
71                  $rootfs/etc/rc?.d/*umountroot \                  $rootfs/etc/rc?.d/*umountroot \
72                  $rootfs/etc/rc?.d/*hwclock* \                  $rootfs/etc/rc?.d/*hwclock* \
73                  $rootfs/etc/rc?.d/*udev* \                  $rootfs/etc/rc?.d/*udev* \
74                    $rootfs/etc/rc?.d/*checkfs* \
75          2>/dev/null | xargs -i rm -v {}          2>/dev/null | xargs -i rm -v {}
76    
77          echo $1 > $rootfs/etc/hostname          echo $1 > $rootfs/etc/hostname

Legend:
Removed from v.236  
changed lines
  Added in v.237

  ViewVC Help
Powered by ViewVC 1.1.26