From 887e7e12a3f4daf69b9330fe36b6a238607cac38 Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Wed, 18 May 2022 23:01:37 +0300 Subject: [PATCH] Disable usage swapon tool --- general/overlay/etc/inittab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general/overlay/etc/inittab b/general/overlay/etc/inittab index 084434b2..c0b9d506 100644 --- a/general/overlay/etc/inittab +++ b/general/overlay/etc/inittab @@ -18,7 +18,7 @@ ::sysinit:/bin/mount -o remount,rw / ::sysinit:/bin/mkdir -p /dev/pts /dev/shm ::sysinit:/bin/mount -a -::sysinit:/sbin/swapon -a +# ::sysinit:/sbin/swapon -a null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout @@ -35,5 +35,5 @@ console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL # Stuff to do before rebooting ::shutdown:/etc/init.d/rcK -::shutdown:/sbin/swapoff -a +# ::shutdown:/sbin/swapoff -a ::shutdown:/bin/umount -a -f