Skip to content

Commit

Permalink
Insert or update header comments in Solaris pre/post-install/remove s…
Browse files Browse the repository at this point in the history
…cripts
  • Loading branch information
jimklimov committed Sep 8, 2018
1 parent 5067042 commit 5c82940
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Solaris/postinstall.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

#Postinstall script
# Postinstall script for Network UPS Tools package

NUT_DIR="@prefix@"
prefix="@prefix@" # expanded as part of some autoconf macros below
Expand Down
2 changes: 2 additions & 0 deletions scripts/Solaris/postremove.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# Postremove script for Network UPS Tools package

# Remove init script from /etc/init.d - created by scripts not packaging

rm -f /etc/init.d/nut
Expand Down
1 change: 1 addition & 0 deletions scripts/Solaris/preinstall.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

# Preinstall script for Network UPS Tools package
NUT_DIR="@prefix@"

# Create group nut
Expand Down
2 changes: 2 additions & 0 deletions scripts/Solaris/preremove.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# Preremove script for Network UPS Tools package

# Stop all nut services

NUT_DIR="@prefix@"
Expand Down

0 comments on commit 5c82940

Please sign in to comment.