summaryrefslogtreecommitdiffstats
path: root/cryptmount
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-07-31 18:42:31 +0000
committer Eric Hameleers <alien@slackware.com>2007-07-31 18:42:31 +0000
commit86e4486ed0d7c09aa0b587bd72b1697daba93a54 (patch)
tree386af2aa2e997f7feaf3d43940c30a6be319a432 /cryptmount
parent3e51c3f5490a3fa3c8e3bd620a674eff576b71ac (diff)
downloadasb-86e4486ed0d7c09aa0b587bd72b1697daba93a54.tar.gz
asb-86e4486ed0d7c09aa0b587bd72b1697daba93a54.tar.xz
Update
Diffstat (limited to 'cryptmount')
-rwxr-xr-xcryptmount/build/cryptmount.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/cryptmount/build/cryptmount.SlackBuild b/cryptmount/build/cryptmount.SlackBuild
index 6fdd144d..045e684b 100755
--- a/cryptmount/build/cryptmount.SlackBuild
+++ b/cryptmount/build/cryptmount.SlackBuild
@@ -34,6 +34,9 @@
# * Initial build.
# 2.0-1: 29/apr/2007 by Eric Hameleers <alien@slackware.com>
# * Update to the final 2.0
+# 2.0-2: 31/jul/2007 by Eric Hameleers <alien@slackware.com>
+# * Make sure that an esisting modofied rc.cryptmount script
+# is not overwritten.
#
# Run 'sh cryptmount.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -47,7 +50,7 @@
PRGNAM=cryptmount
VERSION=${VERSION:-"2.0"}
ARCH=${ARCH:-"i486"}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
DOCS="AUTHORS ChangeLog COPYING NEWS README RELNOTES ToDo"
@@ -216,6 +219,7 @@ ln -sf rc.cryptmount $PKG/etc/rc.d/rc.cryptmount-early
# Prepare the config files:
mv $PKG/etc/cryptmount/cmtab{,.new}
mv $PKG/etc/default/cryptmount{,.new}
+mv $PKG/etc/rc.d/rc.cryptmount{,.new}
# Add this to the doinst.sh
! [ -d $PKG/install ] && mkdir -p $PKG/install
@@ -237,6 +241,7 @@ config() {
}
config etc/cryptmount/cmtab.new
config etc/default/cryptmount.new
+config etc/rc.d/rc.cryptmount.new
# Update rc.local so that cryptmount will be started on boot
if ! grep "rc.cryptmount" etc/rc.d/rc.local 1>/dev/null 2>&1 ; then