diff options
author | Eric Hameleers <alien@slackware.com> | 2007-02-05 20:21:10 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-02-05 20:21:10 +0000 |
commit | a823c7e6be31556f2762aab324fdc3082bdec146 (patch) | |
tree | e2bc6c934b11577942866b93f2e396153ae12181 /fuse | |
parent | 67c1042baa708fd6c5af31f29ac9f02deacf12fc (diff) | |
download | asb-a823c7e6be31556f2762aab324fdc3082bdec146.tar.gz asb-a823c7e6be31556f2762aab324fdc3082bdec146.tar.xz |
Make the rc.fuse script display the correct filename
Diffstat (limited to 'fuse')
-rwxr-xr-x | fuse/build/fuse.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fuse/build/fuse.SlackBuild b/fuse/build/fuse.SlackBuild index 97547e25..6437e833 100755 --- a/fuse/build/fuse.SlackBuild +++ b/fuse/build/fuse.SlackBuild @@ -221,9 +221,11 @@ fi # Move the rc script to the correct place and location (2.6.x and later): if [ -f $PKG/etc/init.d/fuse ]; then mkdir -p $PKG/etc/rc.d - mv $PKG/etc/init.d/fuse $PKG/etc/rc.d/rc.fuse + cat $PKG/etc/init.d/fuse \ + | sed 's#^SCRIPTNAME=.*$#SCRIPTNAME=/etc/rc.d/rc.fuse#' \ + > $PKG/etc/rc.d/rc.fuse chmod 754 $PKG/etc/rc.d/rc.fuse - rmdir $PKG/etc/init.d || true + rm -rf $PKG/etc/init.d fi # Add this to the doinst.sh |