Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 52.15.173.197
Current Path : /etc/rcS.d/ |
| Current File : //etc/rcS.d/S01lvm2 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: lvm2 lvm
# Required-Start: mountdevsubfs
# Required-Stop:
# Should-Start: udev mdadm-raid cryptdisks-early multipath-tools-boot
# Should-Stop: umountroot mdadm-raid
# X-Start-Before: checkfs mountall
# X-Stop-After: umountfs
# Default-Start: S
# Default-Stop:
### END INIT INFO
SCRIPTNAME=/etc/init.d/lvm2
. /lib/lsb/init-functions
[ -x /sbin/vgchange ] || exit 0
case "$1" in
start)
log_action_begin_msg "Setting up LVM Volume Groups"
/sbin/lvm vgchange -aay --sysinit >/dev/null
log_action_end_msg "$?"
;;
stop|restart|force-reload|status)
;;
*)
echo "Usage: $SCRIPTNAME start" >&2
exit 3
;;
esac
|