}
case "${1}" in
- restart|reload|force-reload|status)
+ start|restart|reload|force-reload|status)
[ "${VERBOSE}" != no ] && log_end_msg 0
;;
- start)
- log_begin_msg "${NAME} is configuring sendsigs..."
- if [ -f /live/root.pid ] ; then
- cat /live/root.pid >> /var/run/sendsigs.omit
- fi
- log_end_msg 0
- ;;
stop)
log_begin_msg "${NAME} is resyncing snapshots and caching reboot files..."
unionmountopts="${unionmountopts} ${unionrw}=RW:${unionro}=RO"
( sysctl -w fs.file-max=391524 ; ulimit -HSn 16384
unionfs-fuse ${unionmountopts} "${unionmountpoint}" ) && \
- ( mkdir -p /run/initramfs
- pidof unionfs-fuse >> /run/initramfs/sendsigs.omit || true )
+ ( mkdir -p /run/sendsigs.omit.d
+ pidof unionfs-fuse >> /run/sendsigs.omit.d/unionfs-fuse || true )
;;
unionmount)