Changeset 9307b27 for installer


Ignore:
Timestamp:
Apr 24, 2018 4:09:20 AM (2 years ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
8adf55a
Parents:
345d078
Message:

Update in the install_i2p_service_osx.command script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/install_i2p_service_osx.command

    r345d078 r9307b27  
    1 #!/bin/bash
     1#!/usr/bin/env bash
    22# 2012, The I2P Project
    33# http://www.i2p2.de/
    44# This code is public domain.
    55# Author: Meeh
    6 cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     6
     7I2PDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    78shfile="tmp$$.sh"
     9
    810echo -n 'cat `pwd`/net.i2p.router.plist.template |' > `pwd`/$shfile
    911echo -n "sed 's#USERNAME#`whoami`#' " >> `pwd`/$shfile
     
    1113chmod +x `pwd`/$shfile
    1214echo "Please enter your password for sudo privileges to install I2P as a launchd service"
     15
    1316sudo ./$shfile
    1417sudo chown root:wheel /Library/LaunchDaemons/net.i2p.router.plist
Note: See TracChangeset for help on using the changeset viewer.