mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/zramen: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f872d312ed
commit
372c16bc68
2 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,9 @@
|
|||
Zramen is a simple bash script that makes managing zram much easier.
|
||||
This SlackBuild provides the zramen script but also a service script
|
||||
compatible with sysvinit. To enable it, just mark the service as
|
||||
executable and you can tweak the algorithm, size, and more that
|
||||
it will use in /etc/default/zramen.
|
||||
compatible with sysvinit.
|
||||
|
||||
To enable zramen on startup, add the following to /etc/rc.d/rc.local:
|
||||
if [ -x /etc/rc.d/rc.zramen ]; then
|
||||
# Start Zramen
|
||||
/etc/rc.d/rc.zramen start
|
||||
fi
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for zramen
|
||||
|
||||
# Copyright 2023 Hunter Ellett <hunter2k1@disroot.org>
|
||||
# Copyright 2023, 2024 Hunter Ellett <hunter2k1@disroot.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -53,8 +53,8 @@ mkdir -p "$PKG/etc/default"
|
|||
cd "$PKG"
|
||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
install -m 755 "$PKG/$PRGNAM-$VERSION/$PRGNAM" "$PKG/usr/bin/$PRGNAM"
|
||||
install -m 660 "$PKG/$PRGNAM-$VERSION/sv/$PRGNAM/conf" "$PKG/etc/default/$PRGNAM"
|
||||
install -m 660 "$CWD/rc.$PRGNAM" "$PKG/etc/rc.d"
|
||||
install -m 666 "$PKG/$PRGNAM-$VERSION/sv/$PRGNAM/conf" "$PKG/etc/default/$PRGNAM"
|
||||
install -m 666 "$CWD/rc.$PRGNAM" "$PKG/etc/rc.d"
|
||||
|
||||
cp "$CWD/$PRGNAM.SlackBuild" "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
|
||||
cp "$CWD/README" "$PKG/usr/doc/$PRGNAM-$VERSION/README"
|
||||
|
|
Loading…
Reference in a new issue