[Voyage-linux] small voyage-sync patch

Kim-man 'Punky' TSE (spam-protected)
Mon Jul 13 09:38:43 HKT 2009


Hi Robert, Patch applied with modification, thanks.
------------------------------------------------------------------------
r100 | punkytse | 2009-07-13 09:34:12 +0800 (Mon, 13 Jul 2009) | 1 line
Changed paths:
   M /trunk/voyage-util/overlay_fs/etc/init.d/voyage-sync

tiny patch to /etc/init.d/voyage-sync. The substitutions like  are 
bashisms, hence the modified #!-line [Robert Vollmert]
------------------------------------------------------------------------

Robert Vollmert wrote:
> Hello,
>
> below a tiny patch to /etc/init.d/voyage-sync. The substitutions like 
> ${P:1} are bashisms, hence the modified #!-line.
>
> Cheers
> Robert
>
> --- voyage-sync    2009-07-10 21:12:19.000000000 +0200
> +++ /etc/init.d/voyage-sync    2009-07-10 20:28:59.000000000 +0200
> @@ -1,4 +1,4 @@
> -#! /bin/sh
> +#! /bin/bash
>  ### BEGIN INIT INFO
>  # Provides:          voyage-sync
>  # Required-Start:
> @@ -125,6 +125,7 @@
>          echo "Done."
>          ;;
>      *)
> +            echo "Usage: /etc/init.d/voyage-sync {start|stop|sync}" >&2
>          ;;
>  esac
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux


-- 
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
  - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
  - Network Engineering, Development Platform and Consultation
  
	





More information about the Voyage-linux mailing list