X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F40-deborphan;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F40-deborphan;h=778a3a2712a8c6d395c5e72b953a2b45033180ff;hb=5dcacdc366f620e116c44a6c8bed289c1138f743;hp=0000000000000000000000000000000000000000;hpb=f15623f9cfbfc99d7d60f5c7e97cdc92115329ee;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan new file mode 100755 index 0000000..778a3a2 --- /dev/null +++ b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan @@ -0,0 +1,22 @@ +#!/bin/sh +# Filename: /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan +# Purpose: set up /etc/network/interfaces of live-system +# Authors: grml-team (grml.org), (c) Michael Prokop +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2 or any later version. +# Latest change: Sun Dec 09 14:02:46 CET 2007 [mika] +################################################################################ + +set -u +set -e + +if [ -r $target/lib/shadowfs/liblogfs.so -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep shadowfs +fi + +if [ -r $target/usr/bin/bsdtar -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep bsdtar +fi + +## END OF FILE ################################################################# +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3