diff options
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 |
commit | 86e4486ed0d7c09aa0b587bd72b1697daba93a54 (patch) | |
tree | 386af2aa2e997f7feaf3d43940c30a6be319a432 /cryptmount | |
parent | 3e51c3f5490a3fa3c8e3bd620a674eff576b71ac (diff) | |
download | asb-86e4486ed0d7c09aa0b587bd72b1697daba93a54.tar.gz asb-86e4486ed0d7c09aa0b587bd72b1697daba93a54.tar.xz |
Update
Diffstat (limited to 'cryptmount')
-rwxr-xr-x | cryptmount/build/cryptmount.SlackBuild | 7 |
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 |