File: undoit.sh

package info (click to toggle)
unionfs 1.4%2Bdebian-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 924 kB
  • ctags: 929
  • sloc: ansic: 9,905; sh: 2,787; makefile: 253; perl: 200
file content (19 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash -norc
set -x
PATH=/sbin:.:/usr/local/fist:${PATH}
export PATH

if [ ! -z "$1" ] ; then
	uniondbg -d /mnt/unionfs $1
fi

umount /mnt/unionfs
lsmod
rmmod unionfs
lsmod

if [ -x ./postundoit.`uname -n` ] ; then
	./postundoit.`uname -n`
elif [ -x ./postundoit ] ; then
	./postundoit
fi