[Pkg-cryptsetup-devel] PATCH: cryptsetup 2:1.0.4+svn29-1 - enable swap on startup
Lubomir Host
rajo at platon.sk
Mon May 21 16:43:04 UTC 2007
Hi,
my encrypted swap is not enabled on startup. Simple patch follows:
------------------------------------%<------------------------------------
--- init.d/cryptdisks
+++ init.d/cryptdisks
@@ -25,6 +25,7 @@
case "$1" in
start)
do_start
+ swapon -a
;;
stop)
do_stop
@@ -32,6 +33,7 @@
restart|reload|force-reload)
do_stop
do_start
+ swapon -a
;;
*)
echo "Usage: cryptdisks {start|stop|restart|reload|force-reload}"
------------------------------------%<------------------------------------
Is my patch correct?
Best regards,
rajo
--
,''`. Lubomir Host 'rajo' <rajo AT platon.sk> ICQ #: 257322664
: :' : Jabber: rajo AT jabber.platon.sk VoIP: callto://rajo207
`. `' WWW: http://rajo.platon.sk/ Platon Group: http://platon.sk/
`- GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F
More information about the Pkg-cryptsetup-devel
mailing list