diff options
author | Jonathan Bauer | 2013-05-07 19:33:11 +0200 |
---|---|---|
committer | Jonathan Bauer | 2013-05-07 19:33:11 +0200 |
commit | 6bf5335415273aaef78ed0a5782fde72ab646f62 (patch) | |
tree | f432fefc26d33033c28043790f8840df1947597a /helper | |
parent | added '-openslx' suffix to kernel version to distinguish it from regular vers... (diff) | |
download | tm-scripts-6bf5335415273aaef78ed0a5782fde72ab646f62.tar.gz tm-scripts-6bf5335415273aaef78ed0a5782fde72ab646f62.tar.xz tm-scripts-6bf5335415273aaef78ed0a5782fde72ab646f62.zip |
dhcp service now requests same IP if he got one previously
Diffstat (limited to 'helper')
-rw-r--r-- | helper/fileutil.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/helper/fileutil.inc b/helper/fileutil.inc index d37d546e..24b50a5f 100644 --- a/helper/fileutil.inc +++ b/helper/fileutil.inc @@ -132,7 +132,8 @@ generate_initramfs() { [ "x${PS[1]}" != "x0" ] && perror "cpio create failed." [ "x${PS[2]}" != "x0" ] && perror "gzip to '$3' failed." cd - &> /dev/null - pinfo "Created initramfs of $1 at $3. Size: $(du -bsh "$3" | awk 'END {print $1}')" + pinfo "Created initramfs of $1 at $3" + pinfo "Size: $(du -bsh "$3" | awk 'END {print $1}')" } # generates squashfs of directory @@ -143,5 +144,6 @@ generate_squashfs() { [ -d "$1" ] || perror "$1 is not a directory." mksquashfs "$1" "$2" -comp xz -b 1M -no-recovery >&6 \ || perror "mksquashfs failed ($?)." - pinfo "Created squashfs of $1 at $2. Size: $(du -bsh "$2" | awk 'END {print $1}')" + pinfo "Created squashfs of $1 at $2" + pinfo "Size: $(du -bsh "$2" | awk 'END {print $1}')" } |