Skip to content

Commit f45e6dd

Browse files
authored
Merge pull request #21 from HoopadCorp/bugfix/startup_sh_addresses
Bugfix/startup sh addresses
2 parents 8e5b701 + e63229a commit f45e6dd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

client-services/wanpad-startup/startup.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# You need to mention the scripts you want to
44
# run at startup here.
55

6-
. /etc/wanpad/client-services/wanpad-startup-1.sh
7-
. /etc/wanpad/client-services/wanpad-startup-2.sh
8-
. /etc/wanpad/client-services/wanpad-startup-3.sh
6+
DIR="/etc/wanpad/wanpad-startup"
7+
8+
. ${DIR}/wanpad-startup-1.sh
9+
. ${DIR}/wanpad-startup-2.sh
10+
. ${DIR}/wanpad-startup-3.sh
911

1012

client-services/wanpad-startup/wanpad-startup.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description=WANPAD startup service
66
[Service]
77
Type=simple
88
User=root
9-
ExecStart=/etc/wanpad/client-services/wanpad-startup/startup.sh
9+
ExecStart=/etc/wanpad/wanpad-startup/startup.sh
1010

1111
[Install]
1212
WantedBy=multi-user.target

0 commit comments

Comments
 (0)