Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
openmamba
postplug
Commits
ed2bd4ff
Commit
ed2bd4ff
authored
10 years ago
by
Silvan Calarco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sysv5 initscript
parent
a75aae65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
53 deletions
+1
-53
Makefile
Makefile
+1
-5
postplug/postplug-initscript
postplug/postplug-initscript
+0
-48
No files found.
Makefile
View file @
ed2bd4ff
...
...
@@ -43,7 +43,6 @@ pck_catalogs := $(wildcard po/*.po)
pck_plugins
:=
$(
wildcard
postplug.d/
*
)
pck_sysconfig
:=
$(
wildcard
sysconfig/
*
)
pck_defs
:=
postplug/postplug-defs
pck_initscript
=
postplug/postplug-initscript
pck_logrotate
=
postplug/postplug-logrotate
pck_postplug
=
postplug/postplug
pck_scripts
:=
$(
wildcard
scripts/
*
)
...
...
@@ -70,11 +69,9 @@ install-defs: $(pck_defs)
$(INSTALL_DIR)
$(DESTDIR)$(postplugdefsdir)
$(INSTALL_DATA)
$^
$(DESTDIR)$(postplugdefsdir)
/
$(PACKAGE)
.defs
install-initscript
:
$(pck_initscript)
install-initscript
:
@
echo
"installing initscript..."
;
\
$(INSTALL_DIR)
$(DESTDIR)$(initrddir)
$(INSTALL_DIR)
$(DESTDIR)$(systemdunitdir)
$(INSTALL_SCRIPT)
$^
$(DESTDIR)$(initrddir)
/
$(PACKAGE)
$(INSTALL_DATA)
postplug/postplug-service
$(DESTDIR)$(systemdunitdir)
/postplug.service
install-logrotate
:
$(pck_logrotate)
...
...
@@ -131,7 +128,6 @@ uninstall:
done
-
rmdir
$(DESTDIR)$(postplugdir)
-
rmdir
$(DESTDIR)$(postplugrcdir)
rm
-f
$(DESTDIR)$(initrddir)
/
$(PACKAGE)
rm
-f
$(DESTDIR)$(systemdunitdir)
/postplug.service
rm
-f
$(DESTDIR)$(localesdir)
/
*
/LC_MESSAGES/
$(PACKAGE)
.mo
...
...
This diff is collapsed.
Click to expand it.
postplug/postplug-initscript
deleted
100644 → 0
View file @
a75aae65
#!/bin/sh
#
# postplug This shell script enables the automatic startup of postplug
# Author: Silvan Calarco <silvan.calarco@qilinux.it>
# chkconfig: 345 70 01
# description: Enable boot time execution of postplug
PROGNAME
=
/sbin/postplug
# source function library
.
/etc/rc.d/init.d/functions
TEXTDOMAIN
=
postplug
TEXTDOMAINDIR
=
/usr/share/locale/
start
()
{
#echo -n "Starting $PROGNAME configuration tool: "
$PROGNAME
#echo
}
stop
()
{
#echo -n "Stopping $PROGNAME configuration tool: "
# currently does nothing
#success
#(/bin/rm -f /var/lock/subsys/yum && success) || failure
#echo
:
}
case
"
$1
"
in
start
)
[
-e
/bin/plymouth
]
&&
plymouth message
--text
=
$"Configuring system..."
start
[
-e
/bin/plymouth
]
&&
plymouth message
--text
=
$"Configuring system...done"
;;
stop
)
stop
;;
restart
)
stop
start
;;
*
)
echo
"*** Usage:
$PROGNAME
{start|stop|restart}"
exit
1
esac
exit
0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment