mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
Use invoke-rc.d to avoid service mask error. Fixes #9.
This commit is contained in:
parent
4010b81ecc
commit
20318b2f25
@ -20,7 +20,7 @@ hostname="$1"
|
|||||||
|
|
||||||
echo "$hostname" > /etc/hostname
|
echo "$hostname" > /etc/hostname
|
||||||
if [ -x /etc/init.d/hostname.sh ] ; then
|
if [ -x /etc/init.d/hostname.sh ] ; then
|
||||||
service hostname.sh start
|
invoke-rc.d hostname.sh start
|
||||||
else
|
else
|
||||||
service hostname start
|
service hostname start
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user