From: Jean-Marc Pigeon (Delson) Date: Mon, 30 Jun 2025 05:45:45 +0000 (-0400) Subject: Adding local profile within init script X-Git-Tag: tag-0.11~6 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=da4003eedd008ce59cc559c2166072c99d409f40;p=jmp%2Fmailleur Adding local profile within init script --- diff --git a/linux/osukiss/mailleur b/linux/osukiss/mailleur index f2ab3e4..c60b566 100644 --- a/linux/osukiss/mailleur +++ b/linux/osukiss/mailleur @@ -1,4 +1,4 @@ -#!/bin/sh +#! /usr/bin/bash #================================================================= # Begin receiver # @@ -26,6 +26,11 @@ APPNAME=mailleur DAEMON=receiver DAEMON_PID=/run/${APPNAME}/${DAEMON}.lock +#checking profile +if [ -f /etc/profile ] ; then + . /etc/profile + fi + # Some functions to make the below more readable #loading load configuration file