File:  [GPL Stacker compression] / dmsdos / in-kernel-uninstall.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:38:02 2018 UTC (22 months ago) by root
Branches: MAIN, DMSDOS
CVS tags: dmsdos092322, dmsdos092232, dmsdos0922, HEAD
DMSDOS 0.9.2.2

#!/bin/sh

if [ ! -d /usr/src/linux ];
then
	echo "No linux sources found in /usr/src/linux, aborting."
	exit 1
fi

if [ ! -d /usr/src/linux/fs/dmsdos ];
then
	echo "dmsdos is not present in your kernel souce tree."
	exit 1
fi

rm -r /usr/src/linux/fs/dmsdos
( cd /usr/src/linux/fs
  mv Config.in.orig Config.in
  mv Makefile.orig Makefile
  mv filesystems.c.orig filesystems.c
  mv /usr/src/linux/Documentation/Configure.help.orig /usr/src/linux/Documentation/Configure.help
)

unix.superglobalmegacorp.com