mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
systemd: migrate the SySv init script to a simple bash script
This commit is contained in:
parent
b986073e20
commit
78b5bb43f4
2 changed files with 23 additions and 31 deletions
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
### BEGIN INIT INFO
|
#
|
||||||
# Provides: ynh-hotspot
|
|
||||||
# Required-Start: $network $remote_fs $syslog yunohost-api
|
|
||||||
# Required-Stop: $network $remote_fs $syslog
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: Set prerequisites for wifi hotspot.
|
|
||||||
# Description: Set prerequisites for wifi hotspot.
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
# Wifi Hotspot app for YunoHost
|
# Wifi Hotspot app for YunoHost
|
||||||
# Copyright (C) 2015 Julien Vaubourg <julien@vaubourg.com>
|
# Copyright (C) 2015 Julien Vaubourg <julien@vaubourg.com>
|
||||||
# Contribute at https://github.com/jvaubourg/hotspot_ynh
|
# Contribute at https://github.com/jvaubourg/hotspot_ynh
|
|
@ -152,6 +152,7 @@ sudo install -o root -g root -m 0755 ../conf/iw_devices /usr/local/bin/
|
||||||
sudo install -o root -g root -m 0755 ../conf/iw_ssids /usr/local/bin/
|
sudo install -o root -g root -m 0755 ../conf/iw_ssids /usr/local/bin/
|
||||||
sudo install -o root -g root -m 0755 ../conf/ipv6_expanded /usr/local/bin/
|
sudo install -o root -g root -m 0755 ../conf/ipv6_expanded /usr/local/bin/
|
||||||
sudo install -o root -g root -m 0755 ../conf/ipv6_compressed /usr/local/bin/
|
sudo install -o root -g root -m 0755 ../conf/ipv6_compressed /usr/local/bin/
|
||||||
|
sudo install -o root -g root -m 0755 ../conf/ynh-hotspot /usr/local/bin/
|
||||||
|
|
||||||
# Copy confs
|
# Copy confs
|
||||||
sudo mkdir -pm 0755 /var/log/nginx/
|
sudo mkdir -pm 0755 /var/log/nginx/
|
||||||
|
|
Loading…
Add table
Reference in a new issue